Hello guys,
I am having a problem.
I currently have on my page a folder called "blog", something like:
www.myweb/blog/
Where i used to deal with blog stuff.
Now i have changed my web structure and i still want to maintain the URL for SEO reasons, but now i dont access to that secction throught the folder, i use the index.php with a param name called "blog".
I have inserted this in htaccess for that:
RewriteRule ^([a-zA-Z0-9_]+)/$ ?s=$1
So the URL will be like before:
www.myweb.com/blog/
And i will take "blog" as a the param called "s".
Then in index.php i do something like:
include 'blog.php'; (depending on the "s" param)
The problem is that when i try to acces to that URL it access to the folder (as it exists) and not the index with the param name.
Is there any way to fix this in htaccess?
Thanks guys!