Tube urls issue

Post Reply
filthlab
Posts: 118
Joined: Tue May 30, 2017 6:49 am

Tube urls issue

Post by filthlab »

Hi,
Sorting and pagination are not working for tube pages, check this: http://filthlab.com/tube/vporn/duration/1/
I have this line in the .htaccess:

Code: Select all

RewriteRule ^tube/([^/]+)/$ /script_folder_name/tube/index.php?sponsor_id=$1&%{QUERY_STRING} [L]
Please, let me know where I'm wrong.
admin
Site Admin
Posts: 37238
Joined: Wed Sep 10, 2008 11:43 am

Re: Tube urls issue

Post by admin »

100% you have a mistake in your rewrite
you don't pass all the variables

w\o rewrite

/script_folder_name/tube/?sponsor_name=...&order=duration&page=...
Don't forget to run script update
filthlab
Posts: 118
Joined: Tue May 30, 2017 6:49 am

Re: Tube urls issue

Post by filthlab »

Now I have:

Code: Select all

RewriteRule ^tube/([^/]+)/([^/]+)/([^/]+)/$ /script_folder_name/tube/?sponsor_name=$1&order=$2&page=$3&%{QUERY_STRING} [L]
and still not working.
Where I can read more about this, as it is not familiar for me at all?
admin
Site Admin
Posts: 37238
Joined: Wed Sep 10, 2008 11:43 am

Re: Tube urls issue

Post by admin »

It's called mod_rewrite
rewrite rules

there are a lot of docs\honts\faq about it, no need to write about it again , just try to google
Don't forget to run script update
Post Reply