Jump to content

Permalink?


JayStabins
Go to solution Solved by Zane,

Recommended Posts

Does anyone have a resource to help explain permalinks?

 

Basically I am wondering how to implement something on the blog I am starting to write.  

 

Take this link for example....

http://cristinabarkerjones.wordpress.com/2013/07/18/10-reasons-you-should-get-a-dog/

 

(this is just some random blog I pulled up, no plug or try to get hits here)

 

I think we can agree there is no html/php page sitting on a server in a folder /2013/07/18/ with a page name of 10-reasons-you-should-get-a-dog.

Instead there is a server that s going to render this page who's data is sitting in a database.  

 

My question is how do you implement something like this.

 

I know it is an involved process, just looking if someone has a resource on how this is implemented or wants to give me a quick overview that would be great!

 

Thanks!

Link to comment
Share on other sites

Much better than the apache documentation.

 

http://httpd.apache.org/docs/current/mod/mod_rewrite.html

 

While reading this I was wondering about the difference between the

 

mod_rewrite 

# Generic 404 to show the "custom_404.html" page  
# If the requested page is not a file or directory  
# Silent Redirect: the user's URL bar is unchanged.  
RewriteEngine on  
RewriteCond %{REQUEST_FILENAME} !-f  
RewriteCond %{REQUEST_FILENAME} !-d  
RewriteRule .* custom_404.html [L]  

and the simple


ErrorDocument 404 /404error.php

Thanks again for the help!

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.