Fix vBSEO redirect URL

  • WELCOME TO THE NEW SERVER!

    If you are seeing this you are on our new server WELCOME HOME!

    While the new server is online Scott is still working on the backend including the cachine. But the site is usable while the work is being completes!

    Thank you for your patience and again WELCOME HOME!

    CLICK THE X IN THE TOP RIGHT CORNER OF THE BOX TO DISMISS THIS MESSAGE
Status
Not open for further replies.

IcEWoLF

SatelliteGuys Master
Original poster
Lifetime Supporter
Dec 31, 2006
12,581
11,418
Nevada
SatelliteGuys when you go here it shows you are logged out.

When you log in you get the following error:
Code:
[COLOR=#3E3E3E]Invalid Redirect URL (http://satelliteguys.us/)[/COLOR]

To fix the following I'd suggest going into .htaccess and remove # from the following:

Code:
# Comment the following line (add '#' at the beginning)# to disable mod_rewrite functions.
# Please note: you still need to disable the hack in
# the vBSEO control panel to stop url rewrites.
RewriteEngine On


# Some servers require the Rewritebase directive to be
# enabled (remove '#' at the beginning to activate)
# Please note: when enabled, you must include the path
# to your root vB folder (i.e. RewriteBase /forums/)
#RewriteBase /


[COLOR=#ff0000]#[/COLOR]RewriteCond %{HTTP_HOST} !^www\.yourdomain\.com
[COLOR=#ff0000]#[/COLOR]RewriteRule (.*) http://www.yourdomain.com/forums/$1 [L,R=301]


RewriteRule ^((urllist|sitemap_).*\.(xml|txt)(\.gz)?)$ vbseo_sitemap/vbseo_getsitemap.php?sitemap=$1 [L]


RewriteCond %{REQUEST_URI} !(admincp/|modcp/|cron|vbseo_sitemap|api\.php)
RewriteRule ^((archive/)?(.*\.php(/.*)?))$ vbseo.php [L,QSA]


RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !/(admincp|modcp|clientscript|cpstyles|images)/
RewriteRule ^(.+)$ vbseo.php [L,QSA]

This should fix the issue. thumbsup.png
 
I cannot get that error to duplicate on my end.
 
I cannot get that error to duplicate on my end.

Here is how you can test, clear cookies, clear cache, go to satelliteguys.us without adding the "www" infront.
Then try to log in, when you log in it will redirect you to http://www.satelliteguys.us/login.php
Scroll down a little and you will see:
Code:
Invalid Redirect URL (http://satelliteguys.us/)

In proper setup when you type in satelliteguys.us it should automatically direct you to SatelliteGuys because the cookies are saved with www. not without www.

It's not a big deal, but it should be fixed...
 
Status
Not open for further replies.

Users Who Are Viewing This Thread (Total: 0, Members: 0, Guests: 0)

Who Read This Thread (Total Members: 1)

Latest posts