Fix vBSEO redirect URL

  • HAPPY NEW YEAR! EXCITING CHANGES COMING IN 2026!
    Thank you for a great 2025 and we are so looking forward to 2026!
    PLEASE CLICK HERE to find out about some of our plans for 2026 including our BRAND NEW NAME we will be moving to in 2026! Exciting times are ahead!
    Happy New Year from your friends here at SatelliteGuys.US!
Status
Not open for further replies.

IcEWoLF

SatelliteGuys Master
Original poster
Lifetime Supporter
Dec 31, 2006
12,794
11,960
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.

insurance for installers

Forum is green?

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

Who Read This Thread (Total Members: 1)