Alright so currently I have my .htaccess file set up for vbseo sitemap, I have it set as unreadable, and I have it redirect the old Zoints tags system to the new built-in tags system.
However, I have two problems. One, I want to redirect site.com to
www.site.com.
The other problem is that .com is PR 2 and .com/index.php is PR 1. I'm assuming I should set a redirect from index.php to the plain .com but I'm not sure how to do that.
I saw this code for the www issue in another thread:
Code:
RewriteEngine On
RewriteBase /
RewriteCond %{HTTP_HOST} !www\.example\.com [NC]
RewriteRule (.*) http://www.example.com/$1 [R=301,L]
And here is my current .htaccess:
Code:
RewriteEngine On
RewriteRule ^((urllist|sitemap).*\.(xml|txt)(\.gz)?)$ vbseo_sitemap/vbseo_getsitemap.php?sitemap=$1 [L]
<Files .htaccess>
order allow,deny
deny from all
</Files>
Redirect /tags/ http://www.serviceacademyforums.com/tags.php
Can anybody help me add the redirect to www and help me decide if I should direct to index.php or plain .com and how to do that?
Thanks, I'd really appreciate it.
--------------- Added [DATE]1217030827[/DATE] at [TIME]1217030827[/TIME] ---------------
I'm sorry, this probably should have gone in the programming section, could a mod please move it? Thanks.