dcsimg
www.webdeveloper.com
Results 1 to 2 of 2

Thread: Configuring sitemap/canonical after .htaccess rewrites?

Hybrid View

  1. #1
    Join Date
    Mar 2007
    Location
    Cotswolds, England
    Posts
    105

    Exclamation Configuring sitemap/canonical after .htaccess rewrites?

    Hi,

    I just wondered if anybody could help me with a few configuration convention issues for sitemaps, canonicals and indexes etc?

    I have written a website using PHP, and use an .htacces file to rewrite all .php files to .htm.
    Also, had to redirect old page links to new locations, as all the page files were located in the root, now each page is located in a separate directory.

    SITEMAP:
    Q) Should the sitemap reference the original .php or rewritten .htm web pages?

    WEBPAGES:
    HTML Code:
    <link rel="canonical" href="http://www.***.com/index.htm"/>
    <link rel="index" title="***" href="http://www.***.com/index.htm" />
    Q) Should the HTML code above reference .php or .htm?

    I only as ask because after a month, Google Webmaster Tools hasn't index'ed the new links, but the new and old .php links are viewable in Google.co.uk

    Thanks for any help,

    Barton.

  2. #2
    Join Date
    Mar 2007
    Location
    Cotswolds, England
    Posts
    105
    Any help please....

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center



Recent Articles