This question is in regards to my WordPress Blog..
I finally came to my senses and created a custom Permalink.. So my pages won't have /?p=12 etc... They'll now have the topic title + .htm...
In order to do this, the method I followed told me to first change the Permalink in the admin panel and then go to the .htaccess file and add some code...
Quote:
RewriteEngine On
RewriteBase /
RewriteRule ^category/(.*)/(feed|rdf|rss|rss2|atom)/?$ /wp-feed.php?category_name=$1&feed=$2 [QSA]
RewriteRule ^category/?(.*) /index.php?category_name=$1 [QSA]
RewriteRule ^author/(.*)/(feed|rdf|rss|rss2|atom)/?$ /wp-feed.php?author_name=$1&feed=$2 [QSA]
RewriteRule ^author/?(.*) /index.php?author_name=$1 [QSA]
RewriteRule ^([_0-9a-z-]+).htm([0-9]+)?/?$ /index.php?name=$1&page=$2 [QSA]
RewriteRule ^([_0-9a-z-]+).htm/(feed|rdf|rss|rss2|atom)/?$ /wp-feed.php?name=$1&feed=$2 [QSA]
RewriteRule ^([_0-9a-z-]+).htm/trackback/?$ /wp-trackback.php?name=$1 [QSA]
RewriteRule ^feed/?([_0-9a-z-]+)?/?$ /wp-feed.php?feed=$1 [QSA]
RewriteRule ^comments/feed/?([_0-9a-z-]+)?/?$ /wp-feed.php?feed=$1&withcomments=1 [QSA]
|
Everything actually seems to be working splendid! But, I noticed that when you click on the old indexed link that it lands on that original page.
Now my understanding of rewrite, I thought it would change the URL in the address bar?? Right? Redirect the visitor...
Here's one of the pages I'm referring to... I'll provide 2 links to help see what's happening...
This is the original page...
http://blog.iiibusiness.com/?p=85
This is the new Permalink URL:
http://blog.iiibusiness.com/i-bargai...or-a-penny.htm
If you click on that first link, the address bar doesn't change, but then if you click on the title or browse the blog, it will revert to the new permalink URLs...
------------
My other concern is that I might have done something wrong and it will hurt me from an
SEO standpoint... Dup content.
Any insight would be GREATLY appreciated!
Thanks in advance!