Hi
I am encountering a strange error.
I recently bought another domain http://www.sikhism.ws, which is hosted on the same hosting package, where my old domain sikhphilosophy.net is hosted (that host allows 2 domains under one hosting package).
The new domain has been pointed to a new directory called "sikhism" under "public_html" folder. Furhter, my vbulletin forums for domain "sikhphilosophy.net" are hosted on the root ie. public_html folder. So, the vbseo plugin information contating .htaccess file is located under the root.
Now, i am trying to install that free SMF forums on my new domain's root i.e. /public_html/sikhism/ folder. Everything installs fine but when i try to run the forums, i encounter "500 internal server error"... After gr8 hit and trial, it was established that .htaccess file was the root cause of this error. So, i removed all the information regarding vbseo plugin from the .htaccess file and surprisingly enough the domain http://www.sikhism.ws started working fine but then my old forums at sikhphilosophy.net naturally do not work if we remove that vbseo plugin information from .htacess file, which is quite unacceptable for me. :(
I would like to know how can we edit the .htaccess file so that it can not only contain vbseo plugin information as well as allows the new domain pointer to work along with it.
Presently my .htaccess information is as follows:
Code:DirectoryIndex index.php # 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 RewriteRule ^sikhphilosophy/(.*)$ http://www.sikhphilosophy.net/$1 [L,R=301] # 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 / RewriteRule ^(sitemap.*.(xml|txt)(.gz)?)$ vbseo_sitemap/vbseo_getsitemap.php?sitemap=$1 [L] RewriteCond %{REQUEST_FILENAME} (admincp|modcp|clientscript|cpstyles|images)/ RewriteRule ^(.*)$ $1 [L] RewriteCond %{QUERY_STRING} !vbseourl= RewriteRule ^(.*.php)$ vbseo.php?vbseourl=$1&%{QUERY_STRING} [L] RewriteRule ^(archive/.*)$ vbseo.php?vbseourl=$1&%{QUERY_STRING} [L] RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule ^(.+)$ vbseo.php?vbseourl=$1&%{QUERY_STRING} [L]
Please guide me.
Thanks in advace.







Reply With Quote