Page 1 of 3

tcms alt out redirect problems

Posted: Tue Dec 16, 2014 4:57 pm
by thesios
I have a new tcms install Build 201412080920

When I add an external trade script in alt out

/te3/out.php?u={url}

the generate url is
/hegre-art/alex-and-flora-portraits-with-penis-1/index.html

which fails but if the full page location is used
http://theartofporn.sexy/hegre-art/alex ... JBilivF98E

Note the addition of teh id and the token

Re: tcms alt out redirect problems

Posted: Tue Dec 16, 2014 4:59 pm
by admin
/hegre-art/alex-and-flora-portraits-with-penis-1/index.html

which fails
Why and how exactly it fails ?

Re: tcms alt out redirect problems

Posted: Tue Dec 16, 2014 5:16 pm
by thesios
I changed to alt url

olease check it out

http://www.theartofporn.sexy/

Re: tcms alt out redirect problems

Posted: Tue Dec 16, 2014 5:29 pm
by admin
Hm, can you plz send me access to admin area ?

Re: tcms alt out redirect problems

Posted: Tue Dec 16, 2014 5:33 pm
by thesios
Submitted via pm

Re: tcms alt out redirect problems

Posted: Tue Dec 16, 2014 6:20 pm
by thesios
RewriteEngine On

RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^([^/]{2})/(.*)$ $2?force_lng=$1&%{QUERY_STRING} [L]

#ewriteRule ^/te3/out.php$ /te3/out.php?%{QUERY_STRING} [L]ING} [L]

#RewriteRule ^/te3/out.php$ /te3/out.php?%{QUERY_STRING} [L]

RewriteRule ^category/([^/]+)/$ /scj/cgi/out.php?url=content&p=100&dont_count_in_trade=true&skip_sell=true&group_name=$1&order=ctr&%{QUERY_STRING} [L]
RewriteRule ^category/([^/]+)/([^/]+)/([^/]+)/$ /scj/cgi/out.php?url=content&p=100&dont_count_in_trade=true&skip_sell=true&group_name=$1&order=$2&page=$3&%{QUERY_STRING} [L]

#slug galleries
RewriteRule ^metart/([^/]+)/index.html$ /scj/cgi/out.php?url=content&slug=$1&%{QUERY_STRING} [L]
RewriteRule ^metart/([^/]+)/([0-9]{1,2}).html$ /scj/cgi/out.php?url=content&slug=$1&item_id=$2&%{QUERY_STRING} [L]

#tags
RewriteRule ^tag/([^/]+)/([^/]+)/([^/]+)/$ /scj/tube/index.php?tag=$1&page=$3&order=$2&%{QUERY_STRING} [L]
RewriteRule ^tag/([^/]+)/([^/]+)/$ /scj/tube/index.php?tag=$1&page=$2&%{QUERY_STRING} [L]
RewriteRule ^tag/([^/]+)/$ /scj/tube/index.php?tag=$1&%{QUERY_STRING} [L]

#model galleries
RewriteRule ^model_galleries/([^/]+)/$ /scj/tube/?model_slug=$1&force_template=model_galleries [L]
RewriteRule ^model_galleries/([^/]+)/([^/]+)/$ /scj/tube/?model_slug=$1&page=$2&force_template=model_galleries [L]

RewriteRule ^model/([^/]+)/$ /scj/tube/?model_slug=$1&force_template=model_galleries&%{QUERY_STRING} [L]
RewriteRule ^model/([^/]+)/([^/]+)/([^/]+)/$ /scj/tube/?model_slug=$1&force_template=model_galleries&order=$2&page=$3&%{QUERY_STRING} [L]

RewriteRule ^search/([^/]+)/([^/]+)/$ /scj/tube/index.php?search=$1&page=$2&%{QUERY_STRING} [L]
RewriteRule ^search/([^/]+)/([^/]+)/([^/]+)/$ /scj/tube/index.php?search=$1&order=$2&page=$3&%{QUERY_STRING} [L]

RewriteRule ^movies/$ /scj/tube/index.php?force_template=movies&%{QUERY_STRING} [L]
RewriteRule ^categories/$ /scj/tube/index.php?force_template=categories&%{QUERY_STRING} [L]

RewriteRule ^recent/$ /scj/tube/index.php?order=date&%{QUERY_STRING} [L]
RewriteRule ^recent/([0-9]+)/$ /scj/tube/index.php?order=date&page=$1&%{QUERY_STRING}

RewriteRule ^sponsor/(.*)/$ /scj/tube/?sponsor_slug=$1&force_template=sponsor_page [L]
RewriteRule ^sponsor_galleries/(.*)/(.*)/$ /scj/tube/?sponsor_slug=$1&page=$2&force_template=sponsor_list [L]

#slug galleries
#RewriteCond %{QUERY_STRING} ^(.+)$
#RewriteRule ^gallery/([^/]+)/index.html$ /scj/cgi/out.php?link=images/%{QUERY_STRING}&url=content&slug=$1 [L]
#RewriteRule ^gallery/([^/]+)/index.html$ /scj/tube/?slug=$1 [L]
#RewriteRule ^gallery/([^/]+)/$ /scj/tube/?slug=$1 [L]
#RewriteRule ^gallery/([^/]+)/([0-9]{1,2}).html$ /scj/tube/?slug=$1&item_id=$2 [L]

#slug galleries
#RewriteRule ^gallery/([^/]+)/index.html$ /scj/cgi/out.php?url=content&slug=$1&%{QUERY_STRING} [L]
#RewriteRule ^gallery/([^/]+)/([0-9]{1,2}).html$ /scj/cgi/out.php?url=content&slug=$1&item_id=$2&%{QUERY_STRING} [L]

#new slug galleries
RewriteRule ^(.*)/([^/]+)/index.html$ /scj/cgi/out.php?url=content&slug=$2&%{QUERY_STRING} [L]
RewriteRule ^(.*)/([^/]+)/([0-9]{1,2}).html$ /scj/cgi/out.php?url=content&slug=$2&item_id=$3&%{QUERY_STRING} [L]

Re: tcms alt out redirect problems

Posted: Tue Dec 16, 2014 6:25 pm
by admin
Did you try to update the script there ?

Re: tcms alt out redirect problems

Posted: Tue Dec 16, 2014 6:31 pm
by thesios
I did took update 1 when it was first installed

Do I have to do it again ?

Re: tcms alt out redirect problems

Posted: Tue Dec 16, 2014 6:37 pm
by admin
What build version do you have there ?
I think it's a couple of month old

Re: tcms alt out redirect problems

Posted: Tue Dec 16, 2014 6:38 pm
by thesios
Build 201412080920