Hey all. I've tried messaging vbseo, but they can't figure out my error either, and it's starting to do my head in lol . I will pay anyone $10 USD to tell me what I'm acutally doing wrong, and how to fix it, if it is fixed they'll get the money. Heres my website: www.pengushare.info my VBULLETIN is installed on the root, and so is vbseo .htaccess # 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 / #RewriteCond %{HTTP_HOST} !^www\.yourdomain\.com #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 %{QUERY_STRING} !vbseourl= RewriteCond %{REQUEST_URI} !(admincp/¦modcp/¦chat¦cron) RewriteRule ^(.*\.php(/.*)?)$ vbseo.php?vbseourl=$1 [L,QSA] RewriteCond %{REQUEST_FILENAME} !\.(jpg¦gif)$ RewriteRule ^(archive/.*)$ vbseo.php?vbseourl=$1 [L,QSA] RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteCond %{REQUEST_FILENAME} !^(admincp¦modcp¦clientscript¦cpstyles¦images)/ RewriteRule ^(.+)$ vbseo.php?vbseourl=$1 [L,QSA] Code (markup): Now once I turned my plugin on for vbseo, my website goes all weird it gives me links like: http://116.50.15.17/~pengusha/members/list/ http://116.50.15.17/~pengusha/usercp.php etc, my website has never done this before, the domain pengushare.info was setup with the acutall hosting plan the ip/subdomain was just a given extra however its never been used, and this hasnt occoured ever before. I've tried editing the .htaccess with filling in the "yourdomain" part, but I'm still bloody confused. Thanks in advance guys would be great if someone can help me.
I'm not much good with .htaccess, but try this one: # 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 /forums/ RewriteCond %{HTTP_HOST} !^www\.pengushare\.info RewriteRule (.*) http://www.pengushare.info/forums/$1 [L,R=301] RewriteRule ^((urllist¦sitemap_).*\.(xml¦txt)(\.gz)?)$ vbseo_sitemap/vbseo_getsitemap.php?sitemap=$1 [L] RewriteCond %{QUERY_STRING} !vbseourl= RewriteCond %{REQUEST_URI} !(admincp/¦modcp/¦chat¦cron) RewriteRule ^(.*\.php(/.*)?)$ vbseo.php?vbseourl=$1 [L,QSA] RewriteCond %{REQUEST_FILENAME} !\.(jpg¦gif)$ RewriteRule ^(archive/.*)$ vbseo.php?vbseourl=$1 [L,QSA] RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteCond %{REQUEST_FILENAME} !^(admincp¦modcp¦clientscript¦cpstyles¦images)/ RewriteRule ^(.+)$ vbseo.php?vbseourl=$1 [L,QSA] Code (markup):
No luck on either =( Thanks for giving it a go though Shoro. Heh, if anyone know's how to fix this rofl.. I'll make babies with them XD, as vbSEO has been proven to be like pretty darn good so getting this to work would be more then amazing Thanks for all your help everyone, hopefully we can solve this
Yup noticed the penguinshare too, also why would you have /forums/ on the rewriterule if your vB is installed in your root?
I highly doubt this is a problem with your .htaccess file. All .htaccess is doing is rewriting URL requests, it's not converting your links. Double check your vBulletin URL settings. Make sure those settings are set to your domain.
I tried going to /forums/ on his website and the directory seemed to exist. Can't .htaccess rewrite rules cause the contents of some of PHP's superglobal variables to change, which VB might be using when constructing the rules? I thought that it could, but like I said I don't know much about .htaccess.
The forum directory shouldnt work, as its only installed on the root 0.0 I'll double check my vBulletin URL settings, however I still don't think that might be the problem, as I was running the vbulletin perfectly before I even added vbSEO, its as soon as I switch the plugin on/enable, it does this to the forum; however the software won't function without the plugin.. gahh// @Don My host probably won't be able to help, as its an offshore webhost (for the warez linking)
If there's really no forum directory, then try this one: # 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 / RewriteCond %{HTTP_HOST} !^www\.pengushare\.info RewriteRule (.*) http://www.pengushare.info/$1 [L,R=301] RewriteRule ^((urllist¦sitemap_).*\.(xml¦txt)(\.gz)?)$ vbseo_sitemap/vbseo_getsitemap.php?sitemap=$1 [L] RewriteCond %{QUERY_STRING} !vbseourl= RewriteCond %{REQUEST_URI} !(admincp/¦modcp/¦chat¦cron) RewriteRule ^(.*\.php(/.*)?)$ vbseo.php?vbseourl=$1 [L,QSA] RewriteCond %{REQUEST_FILENAME} !\.(jpg¦gif)$ RewriteRule ^(archive/.*)$ vbseo.php?vbseourl=$1 [L,QSA] RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteCond %{REQUEST_FILENAME} !^(admincp¦modcp¦clientscript¦cpstyles¦images)/ RewriteRule ^(.+)$ vbseo.php?vbseourl=$1 [L,QSA] Code (markup): Which is just the one from before without the forums directory, but are you sure that there really isn't one? Edit: Looks like the site is working now, was it really the VB options after all?
Ok, jackel I found out that there was a small problem with the name of the site in.... the vb panel which I din't even bother looking for, it was located as the "subdomain" however it just doesnt appear anywhere near fixed ;P. Howeve rnow it just says: http://www.pengushare.info/videos/ http://www.pengushare.info/members/list/ Some links work, like: http://www.pengushare.info/usercp.php But that still doesnt make to much sense to me? the whole /member/list it should be memberlist.php and my forum topics shouldnt be : http://www.pengushare.info/news-announcements/5-code-speak.html#post5 EDIT; Man do I feel like the bigest idiot in all time. LOL the whole "news-announcements" etc is the whole idea of VBSEO way to go on my part, thanks for your help everyone. I'm really not sure how I can pay each one of you XD, as you've all been so helpful Any suggestions XD?
I think for that you just remove the RewriteRule (.*) http://www.pengushare.info/forums/$1 [L,R=301] Code (markup): line. Edit: If it was just the VB settings that were causing the problem and not the .htaccess, you should just pay Jackel.
Ok, but I'm guessing I can give everyone that helped Itrader feedback thanking them, whilest I pay jackel is that cool?
Dam, well Shoro, DonDon, Jackal. Thanks for all your help guys, its muchly apprecicated if you ever need a hand with forum posting etc, just give me a message Thanks again.
No problem, hehe If Jackel doesn't want it give it to me, it would be helpful for our local charity. Glad to have helped you Brae, good job Shoro.
I've pmed jackel, I'll just wait for him to come online, otherwise ill just go 1/2 with Shoro, and 1/2 with you dondon?
I'm thinking you've PM'd the wrong Jackel, Brae. However, I do not see this as a chargable service. I was merely providing a suggestion. Payment is unecessary, but thanks anyhow