Forum Moderators: phranque
One more thing is, if the above condtions are true, the pagination URL should be [sd.example.com...] and my htaccess I though of is;
RewriteRule ^dir1/tag/([^/]+)/page/([0-9999]+)/?$ /index.php?a=my-tag&tag=$1&postpage=$2 [L,QSA]
does not seem to work. please help
How do i check if the present url's path text ("/dir1" from; sd.example.com/dir1
OR
sd.example.com/dir1#_blahhh
OR
sd.example.com/dir1/whatever/stuff/here/....)
Here I want to check if my request URI has "/dir" as the 1st path element like "user" from [sub.example.com...] OR [sub.example.com...] OR [sub.example.com...]
One more thing is, if the above condtions is true, the pagination URL should be "http://sd.example.com/dir1/tag/tagename/page/pagenum" and my htaccess I thought of is;
RewriteRule ^dir1/tag/([^/]+)/page/([0-9999]+)/?$ /index.php?a=my-tag&tag=$1&postpage=$2 [L,QSA]
Please help