SMF Support > SMF 1.1.x Support

Redirection Problem

(1/1)

astarmathsandphysics:
I use pretty urls on smf 1.16 and have latest posts post on another website via a feed. The feed posts blog urls such that a click on a url produces thius error message.
This web page has a redirect loop.
I cant work out what is happening. I have tried deleting the first blog redirect line (first line after action the the htaccess file, the text of which is posted, but this has no effect).

# PRETTYURLS MOD BEGINS
# Pretty URLs mod
# hxxp:code.google.com/p/prettyurls/ [nonactive]
# .htaccess file generated automatically on: March 3, 2012, 17:24

RewriteEngine on
RewriteBase /

# Rules for: profiles
RewriteRule ^profile/([^/]+)/?$ ./index.php?pretty;action=profile;user=$1 [L,QSA]

# Rules for: actions
RewriteRule ^(applications|blogs|blogControlPanel|blogHelp|previewCustomWindow|approveComment|activate|admin)/?$ ./index.php?pretty;action=$1 [L,QSA]
RewriteRule ^(announce|arcade|managegames|arcadecategory|arcadesettings|arcade|managegames|arcadecategory)/?$ ./index.php?pretty;action=$1 [L,QSA]
RewriteRule ^(arcadesettings|ban|boardrecount|buddy|calendar|delete_all_shouts|delete_shout_age|delete_shout)/?$ ./index.php?pretty;action=$1 [L,QSA]
RewriteRule ^(cleanperms|collapse|comment|convertentities|convertutf8|coppa|deletemsg|detailedversion)/?$ ./index.php?pretty;action=$1 [L,QSA]
RewriteRule ^(display|dlattach|dumpdb|editpoll|editpoll2|featuresettings|featuresettings2|findmember)/?$ ./index.php?pretty;action=$1 [L,QSA]
RewriteRule ^(help|helpadmin|im|jsoption|jsmodify|lock|lockVoting|login)/?$ ./index.php?pretty;action=$1 [L,QSA]
RewriteRule ^(login2|logout|maintain|manageattachments|manageboards|managecalendar|managesearch|markasread)/?$ ./index.php?pretty;action=$1 [L,QSA]
RewriteRule ^(membergroups|mergetopics|mlist|modifycat|modifykarma|modlog|movetopic|movetopic2)/?$ ./index.php?pretty;action=$1 [L,QSA]
RewriteRule ^(news|notify|notifyboard|optimizetables|packageget|packages|permissions|pgdownload)/?$ ./index.php?pretty;action=$1 [L,QSA]
RewriteRule ^(pm|post|post2|postsettings|printpage|profile|profile2|quotefast)/?$ ./index.php?pretty;action=$1 [L,QSA]
RewriteRule ^(quickmod|quickmod2|recent|regcenter|register|register2|reminder|removetopic2)/?$ ./index.php?pretty;action=$1 [L,QSA]
RewriteRule ^(removeoldtopics2|removepoll|repairboards|reporttm|reputation|reports|requestmembers|search)/?$ ./index.php?pretty;action=$1 [L,QSA]
RewriteRule ^(search2|sendtopic|shout|shout_archive|shout_xml|serversettings|serversettings2|smileys)/?$ ./index.php?pretty;action=$1 [L,QSA]
RewriteRule ^(smstats|spellcheck|splittopics|stats|sticky|thankyouadd|thankyoulist|thankyoulock)/?$ ./index.php?pretty;action=$1 [L,QSA]
RewriteRule ^(thankyoupost|thankyouremove|thankyouremovedm|theme|trackip|xlinks|admod|about:mozilla)/?$ ./index.php?pretty;action=$1 [L,QSA]
RewriteRule ^(about:unknown|unread|unreadreplies|viewErrorLog|viewers|viewmembers|viewprofile|verificationcode)/?$ ./index.php?pretty;action=$1 [L,QSA]
RewriteRule ^(vote|viewquery|who|\.xml|facebook|facebookadmin)/?$ ./index.php?pretty;action=$1 [L,QSA]

# Rules for: boards
RewriteRule ^([-_!~*'()$a-zA-Z0-9]+)/?$ ./index.php?pretty;board=$1.0 [L,QSA]
RewriteRule ^([-_!~*'()$a-zA-Z0-9]+)/([0-9]*)/?$ ./index.php?pretty;board=$1.$2 [L,QSA]

# Rules for: topics
RewriteRule ^([-_!~*'()$a-zA-Z0-9]+)/([-_!~*'()$a-zA-Z0-9]+)/?$ ./index.php?pretty;board=$1;topic=$2.0 [L,QSA]
RewriteRule ^([-_!~*'()$a-zA-Z0-9]+)/([-_!~*'()$a-zA-Z0-9]+)/([0-9]*|msg[0-9]*|new)/?$ ./index.php?pretty;board=$1;topic=$2.$3 [L,QSA]

# PRETTYURLS MOD ENDS

Any ideas?

ziycon:
Can you post an example of a link in your forum that works and the corresponding link on the blog that is giving the redirect loop error please?

astarmathsandphysics:
Here is the link giving the error hxxp:www.studentforums.biz/sweetsh's-blog/do-you-write-your-own-diary/?topicseen [nonactive]
Here is the actual link.
hxxp:www.studentforums.biz/index.php?blog=69.0 [nonactive]

astarmathsandphysics:
I fixed it. In the prettyurls panel there is the option to disable prettyurls for actions. When I did this all the links worked.

Navigation

[0] Message Index

Go to full version