Does WordPress keep track of a post’s URL history and provide automatic redirects?

I just changed the URL of one of my posts from http://2011.denmark.wordcamp.org/session/theme-frameworks-trends-og-standardisering/ to http://2011.denmark.wordcamp.org/session/wordpress-themes-mere-end-design/ Now, if I go to the old url, I get redirected to the new one. This is great of course!…But is this a feature of WordPress, or what’s going on here? Does WP keep track of a post’s URL history, providing … Read more

Disable WordPress URL auto complete

I recently noticed that WordPress tries to auto-complete a URL when it’s not submitted in its entirety. E.g. I have a post URL that looks like this: http://www.mysite.com/some-post-title If I browse to the following URL: http://www.mysite.com/some-post-ti I can see that the URL is submitted to WordPress but that WordPress is doing a 301 redirect to … Read more

How does routing on wordpress work?

How does the core wp routing works? I am having a hard time understanding… In MVC, your url looks like mycontroller/myaction that maps to MyController->myaction() In drupal, it’s index.php?q=mycustomerpath/hello which can be mapped to any function you like that returns a content that is “themed” into your theme layout. But in wp, i have no … Read more

How to prevent automatic redirection of 404 errors and “incorrect” URLs?

WordPress has a feature whereby it will automatically redirect your URLs if it percieves them to be written wrongly. Here is an example: I have a page called my-page If I go to: www.mysite.com/something/my-page/ it will immediately redirect me to www.mysite.com/my-page/ as nothing exists at the first URL. How can I turn this feature off, … Read more

How does WordPress generate URL slugs?

Is there a page somewhere that details exactly how WordPress generates slugs for URLs? I’m writing a script that needs to generate URL slugs identical to the ones WordPress generates. 5 As per @SinisterBeard’s very valid comment to the question already a couple of years back now, this answer has long been outdated and the … Read more

Detecting a WordPress URL without doing a full HTTP GET?

I’m trying to write a oneboxing routine that gives WordPress blog entries special treatment. So given a simple, unadorned URL in content, such as http://blog.stackoverflow.com/2011/03/a-new-name-for-stack-overflow-with-surprise-ending/ How would I detect that this is a WordPress installation, ideally without doing a full HTTP GET on every URL I see? There are certainly common conventions for WordPress URLs … Read more

Why “?v=hash” is added to my URLs? [closed]

Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it’s on-topic for WordPress Development Stack Exchange. Closed 6 years ago. Improve this question I’m new to wordpress, I set up everything, but there’s something that bothers me: on every single URL or link, there’s … Read more