PDA

View Full Version : Wordpress Permalink Error



mommyenterprises
February 18th, 2010, 03:16 PM
I am just going a little crazy these last couple days. I am trying to create a new blog on Wordpress for one of my blogs.

Anyhow, I went in and changed the permalink structure to custom which I have on all my other Wordpress blogs as:

/%category%/%postname%/

I went and added the code to my .htacess like it wanted.

When I visit my blog, all my links are going to either a 404 page on my blog or pasges/post to another Wordpress blog I have on this domain.

In the .htacess file I put the coding right under the coding for the other wordpress blog.

Here is my blog:
http://www.mommyenterprises.com/moms-blog

When I click on Product Reviews, it shows the word category in the link instead of the actual category name.

I am really going to pull my hair out! :confused:

angienewton
February 18th, 2010, 05:40 PM
Stefani, I tweeted the link to this post. Hope someone can help you.

Have you ever thought of using this permalink structure

/%post_id%/%postname%/

I love it because you can post just the link with id and it goes to the same post, the link is just shorter.

See how it is on my blog. You can use either the full link

http://losingitandlovingit.com/blog/1821/perseverance-quotes/

or just
http://losingitandlovingit.com/blog/1821

Not to make things any more difficult for you but just wanted to mention it before you really get going.

mommyenterprises
February 18th, 2010, 05:54 PM
Stefani, I tweeted the link to this post. Hope someone can help you.

Have you ever thought of using this permalink structure

/%post_id%/%postname%/

I love it because you can post just the link with id and it goes to the same post, the link is just shorter.

See how it is on my blog. You can use either the full link

http://losingitandlovingit.com/blog/1821/perseverance-quotes/

or just
http://losingitandlovingit.com/blog/1821

Not to make things any more difficult for you but just wanted to mention it before you really get going.

Thanks Angie,

I actually didn't know you could do that. So I changed my structure to:
/%post_id%/%postname%/

Still having Permalink errors though. I am thinking it is because I have to blogs on the same server using .htaccess.

Here is what my .htaccess looks like:

<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /freebie-blog/
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /freebie-blog/index.php [L]
</IfModule>

<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /moms-blog/
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /moms-blog/index.php [L]
</IfModule>

lindastacy
February 18th, 2010, 06:00 PM
ROFL... edited to add - Stefani, I didn't see your last post before I asked this.

I don't know what the problem might be, but I have a question. Are you sure you can run two blogs from the same htaccess file? I'm referring to your statement, "In the .htacess file I put the coding right under the coding for the other wordpress blog."

mommyenterprises
February 18th, 2010, 06:13 PM
ROFL... edited to add - Stefani, I didn't see your last post before I asked this.

I don't know what the problem might be, but I have a question. Are you sure you can run two blogs from the same htaccess file? I'm referring to your statement, "In the .htacess file I put the coding right under the coding for the other wordpress blog."

That is what I want to know!

mommyenterprises
February 18th, 2010, 07:05 PM
Okay, got it resolved.

I had to put another .htaccess in the directory of the new blog. I went and deleted the code for moms-blog from the original .htaccess on the root.

I am SO relieved..........

angienewton
February 18th, 2010, 08:19 PM
YEA, so glad to hear you got it all resolved. Techy stuff drives me crazy so that's why I hire Michael from Sharp Pixel Designs (http://www.sharppixeldesigns.com/). He takes care of all the back end WP stuff that I'm too afraid to deal with LOL

retta719
February 18th, 2010, 08:23 PM
Glad you got it all worked out ;)

AlexNewell
February 19th, 2010, 07:52 AM
Well done Stefani!

:-)

lindastacy
February 19th, 2010, 05:19 PM
Thanks for posting the solution... it will help someone else I'm sure.

Clay Franklin
February 20th, 2010, 01:28 AM
I like /%post_id%/%postname%/ also.

In wordpress 2.9 or the new version just go to the permalink area down under general settings and click custom and enter /%post_id%/%postname%/ and it should create the redirects for you. I never go to the htacces for this stuff.