Welcome to the GoFuckYourself.com - Adult Webmaster Forum forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact us.

 

Register GFY Rules Calendar
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >
New Webmasters ask "How-To" questions here. This is where other fucking Webmasters help.

 
Thread Tools
Old 10-15-2006, 10:25 AM   #1
OTerror
Confirmed User
 
OTerror's Avatar
 
Industry Role:
Join Date: Aug 2005
Location: ICQ: 424142850
Posts: 2,527
wordpress permalink problem

I'm trying to change the default "ugly" directory to post..it says to edit my .htaccess file but I dont see one in wordpress how can I fix this?
__________________
ICQ 424142850
OTerror is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook
Old 10-15-2006, 12:25 PM   #2
scouser
marketer.
 
Industry Role:
Join Date: Aug 2006
Location: bcn
Posts: 2,280
You might need to make one.
For me, wordpress (2) always creates the .htaccess file for me though.........
scouser is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook
Old 10-15-2006, 03:14 PM   #3
StarkReality
Confirmed User
 
StarkReality's Avatar
 
Join Date: May 2004
Location: 4 8 15 16 23 42
Posts: 4,444
If you are using a newer version of wordpress, there is no need to write anything to a .htaccess file (which can be made in a text editor, named to .htaccess and uploaded) because wordpress handles permalinks internally.

Go to -> Options -> Permalinks in your admin navigation, select "Custom, specify below" and insert something like /%post_id%-%postname%.html

The example above would create permalinks like /124-the-name-of-my-blog-post.html

Advantages:
1. No ugly deep directory structure, which would prolong the process of g**gle crawling your blog
2. If you create two posts with the same title, which can happen easily, for example if you import large sponsor feeds, it's still two seperate permalinks because of the unique post id in front.
3. Keywords repeated in the .html file name
4. Changes in category name or deletion of categories don't affect the posts or make them invalid.
StarkReality is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook
Old 10-16-2006, 07:02 AM   #4
OTerror
Confirmed User
 
OTerror's Avatar
 
Industry Role:
Join Date: Aug 2005
Location: ICQ: 424142850
Posts: 2,527
Quote:
Originally Posted by StarkReality View Post
If you are using a newer version of wordpress, there is no need to write anything to a .htaccess file (which can be made in a text editor, named to .htaccess and uploaded) because wordpress handles permalinks internally.

Go to -> Options -> Permalinks in your admin navigation, select "Custom, specify below" and insert something like /%post_id%-%postname%.html

The example above would create permalinks like /124-the-name-of-my-blog-post.html

Advantages:
1. No ugly deep directory structure, which would prolong the process of g**gle crawling your blog
2. If you create two posts with the same title, which can happen easily, for example if you import large sponsor feeds, it's still two seperate permalinks because of the unique post id in front.
3. Keywords repeated in the .html file name
4. Changes in category name or deletion of categories don't affect the posts or make them invalid.
Thanks Ill give this a try see if it works.
__________________
ICQ 424142850
OTerror is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook
Old 10-16-2006, 07:18 AM   #5
OTerror
Confirmed User
 
OTerror's Avatar
 
Industry Role:
Join Date: Aug 2005
Location: ICQ: 424142850
Posts: 2,527
did not work it says to update my .htaccess file
__________________
ICQ 424142850
OTerror is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook
Old 10-16-2006, 12:12 PM   #6
Fat Panda
Porn is Dead. Move along.
 
Fat Panda's Avatar
 
Industry Role:
Join Date: Aug 2006
Posts: 13,295
i have always had to paste the code they give you into notepad, then save as .htaccess and upload it to you sites root directory...good luck
Fat Panda is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook
Old 10-16-2006, 12:13 PM   #7
Fat Panda
Porn is Dead. Move along.
 
Fat Panda's Avatar
 
Industry Role:
Join Date: Aug 2006
Posts: 13,295
i have always had to paste the code they give you into notepad, then save as .htaccess and upload it to you sites root directory...good luck
Fat Panda is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook
 
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >

Bookmarks



Advertising inquiries - marketing at gfy dot com

Contact Admin - Advertise - GFY Rules - Top

©2000-, AI Media Network Inc



Powered by vBulletin
Copyright © 2000- Jelsoft Enterprises Limited.