TP-Docs
HTML5 Icon HTML5 Icon HTML5 Icon
TP on Social Media

Recent

Welcome to TinyPortal. Please login or sign up.

Members
  • Total Members: 3,966
  • Latest: safir45
Stats
  • Total Posts: 195,985
  • Total Topics: 21,321
  • Online today: 814
  • Online ever: 8,223 (February 19, 2025, 04:35:35 AM)
Users Online
  • Users: 1
  • Guests: 322
  • Total: 323
  • @rjen

Passing vars to articles with mod_rewrite/SEO activated

Started by fmartin, February 08, 2008, 05:10:04 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

fmartin

Hello, These are my params:

Link to my site: http://www.forofeminista.com (Warning it's Porno)
SMF version: Powered by SMF 1.1.4
TP version: TinyPortal v0.9.8 © Bloc
Theme name and version: dilberMc
Mods installed: Seo4Smf v0.2
Related Error messages: none


As you can see, I'm using Seo4Smf and mod_rewrite, so articles addresses get rewrited to some of kind of "article-name.html", so .php extensions are gone.

But I'd need to pass variables (by $_GET) to one of my php articles.


.htaccess contains the following lines related to article's URL

#New Tinyportal Articles URL's
RewriteRule ^(.*)-p([0-9]*)\.html index.php?dummy=1&page=$2 [L]


Sadly, I have no idea about changing that line to allow variable passing, I'm afraid about breaking my site by touching .htaccess


Thanks

This website is proudly hosted on Crocweb Cloud Website Hosting.