XSitePro Website Design Software Message Board

The online forum dedicated to XSitePro users. Get help with website design in general and using this popular and incredibly powerful website software
It is currently Wed Jun 19, 2013 12:57 pm

All times are UTC - 7 hours




Post new topic Reply to topic  [ 4 posts ] 
Author Message
PostPosted: Sat Feb 04, 2012 1:33 pm 
Offline

Joined: Sun Jul 17, 2011 5:28 pm
Posts: 176
Hello,

I've been watching this website I created for my friend, and feel like I'm constantly fighting an uphill battle with Google.

To begin with, I would like all of the webpages in Google have www. before the domain name. So what I did was signup for Google Webmaster tools and select that as my preferred option. It seemed to slowly start to work over time, and 4 of the 5 pages of the site were indexed. Although what bothers me is the "contact" and "thank you" page were even indexed and the homepage was not.

Then I logged on to Google webmaster tools again today, and found that only 2 of the 5 pages were indexed. And the only two pages indexed were the "contact" and "thank you page!" I even told XSitePro to EXCLUDE them!

I'm really starting to get worried, anyone know what might be going on?

Thanks,

Brandon


Top
 Profile  
 
PostPosted: Sat Feb 04, 2012 1:37 pm 
Offline
User avatar

Joined: Sat Sep 03, 2005 7:47 pm
Posts: 8123
Location: California
To make all your pages have www add the code below to your .htaccess file on your server -

Code:
RewriteEngine on
RewriteCond %{HTTP_HOST} ^yourwebsitename\.com$ [NC]
RewriteRule ^(.*)$ http://www.yourwebsitename.com/$1 [R=301,L]


changing "yourwebsitename" for the actual domain name.

Jason

_________________
Image


Top
 Profile  
 
PostPosted: Sat Feb 04, 2012 2:14 pm 
Offline

Joined: Sun Jul 17, 2011 5:28 pm
Posts: 176
Jason wrote:
To make all your pages have www add the code below to your .htaccess file on your server -

Code:
RewriteEngine on
RewriteCond %{HTTP_HOST} ^yourwebsitename\.com$ [NC]
RewriteRule ^(.*)$ http://www.yourwebsitename.com/$1 [R=301,L]


changing "yourwebsitename" for the actual domain name.

Jason


Hey Jason,

I believe Copywolf mentioned that code on another thread of mine awhile back. I was wondering if this code would affect the way search engines displayed my domain name or not. Would they still show it as mywebsitename.com and then redirect to www.mywebsitename.com? Or would they start to show it as www.mywebsitename.com?

And do you have any idea why the "thank you" and "contact" pages are being indexed but not my homepage? And why some of my pages were de/un-indexed?

Thanks for the help.


Top
 Profile  
 
PostPosted: Wed May 09, 2012 3:01 am 
Offline

Joined: Wed May 09, 2012 2:51 am
Posts: 1
Hi users,

Been searching the forums and this looks like a possible solution. I don't like to re-post something already answered.

The problem I am having is that every time I copy pre-published websites, the Index/home page keeps changing throughout the website.

Each page has it in two places and EVERY time I reload the page to the server it changes this:

<span class="xsp1INFO_BAR_MENU"><a class="mainlinksINFO_BAR_MENU" href="http://lightningboltphotography.com/" target="">HOME</a></span>

The link should be this:

<span class="xsp1INFO_BAR_MENU"><a class="mainlinksINFO_BAR_MENU" href="http://lightningboltphotography.com/" target="">HOME</a></span>

I then manually have to change this in EVERY single page as there isn't any method on my FTP tat can find and replace.

Hope I have explained this properly?

WILL YOUR SOLUTION ABOVE WORK FOR THIS ISSUE?

Mike


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 4 posts ] 

All times are UTC - 7 hours


Who is online

Users browsing this forum: Exabot [Bot] and 3 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group