Refers to the process whereby an URL is manipulated to create what in WordPress is called a "pretty permalink"

learn more… | top users | synonyms (1)

2
votes
1answer
471 views

custom permalink/shortlink with base62 encoded post ID

I want my post-links to look like /%post_id62%_%postname%/ where %post_id62% is the post ID in base62 encoding (e.g. http://example.com/y9Rlf_test/) and my shortlinks to consist of /%post_id62% only ...
2
votes
3answers
2k views

Changing the search URL?

I want to change the search URL from example.com/search/keyword to example.com/result or topic/keyword.
0
votes
1answer
677 views

Can't get pretty permalinks to work without index.php

I've worked with WordPress for a while now and this is the first time I've had this problem, I can't get my permalinks to work without index.php on the URL even though mod_rewrite is enabled, a few ...
3
votes
1answer
2k views

Remove taxonomy base or term from url

I know there are a lot of posts about this here, but NONE of them have answered my problem. I am working with a custom built theme that has a custom category type (named messagetypes). I have a ...
0
votes
1answer
437 views

All in One Seo and Permalinks

I'm using All in One seo and for the Post Title Format option I have it as: %post_title% kewyord1 keyword2 etc keyword1, keyword2 being my chosen keywords for my site Also, in Permalinks, I have ...
14
votes
2answers
8k views

Mixing custom post type and taxonomy rewrite structures?

Basically I want to achieve a glossary using custom post types and have some issues setting up rewrites the way I want them to be. I want it like that: The main glossary URL: ...
1
vote
1answer
166 views

How to add a variable as a tag base?

I need to add a tag base with the country name to filter content based on that variable. Something like: http://base_url/country/page_name or http://base_url/country/post_type/post_name The content ...
0
votes
1answer
49 views

Displaying Posts of a Custom Type

I currently have a new custom post type-- "Books." I have a custom rewrite url that I set when registering my post type: 'rewrite' => array( 'slug' => 'books', 'with_front' => false ) It ...
2
votes
3answers
6k views

How to change “wp-admin” to something else without search-replacing the core?

for example: foobar.com/wp/edit instead of foobar.com/wp/wp-admin How would I do that? I've tried using this in htaccess but it won't work: ##### ABOVE THIS POINT IS ALREADY INSERTED BY WORD PRESS ...
8
votes
3answers
5k views

WordPress Rewrite Rules for Custom Post Type and Taxonomy

I have found this place to be a good source of information in the past through a lot of Googling for the problems I have run into. My question pertains to the verbose rewrite rules WordPress uses. I ...
1
vote
1answer
73 views

Changing Wordpress blog name and web address

I created a self-hosted WordPress blog (on Dreamhost) several years ago. I've never truly been happy with the name and URL/domain of the blog, and I've decided that I want to change it. Here's what ...
1
vote
1answer
67 views

How to redirect http://mydomain/blog/blahblah/ to http://mydomain/blahblah/ in wordpress htaccess?

I would like the htaccess rewrite rule to compare to IIS rewrite rule I tried which doesn't seem to work: <rule name="rewrite /blog/"> <match url="^blog/([_0-9a-zA-Z\-]+)/$" /> ...
1
vote
1answer
423 views

Need help with simple rewrite rule (shouldn't this be easy?)

All I need is a rewrite that will change example.com/anyphrase into example.com. Here is what I am using: RewriteCond %{HTTP_HOST} ^example\.com RewriteCond %{SCRIPT_FILENAME} !wp-admin RewriteCond ...
2
votes
1answer
583 views

Issue with using .htaccess to redirect feedburner feed

I am using year/month/post-name permalinks, and also using the download-monitor plugin to handle file downloads. I added rewrite rules to the top of the .htaccess file following the instructions at ...
6
votes
2answers
1k views

How does WordPress handle permalinks?

WordPress auto corrects the permalinks(URLs) even if it is entered incorrectly. For e.g. WordPress will land you in example.com/some-post even if you enter example.com/idontexist/some-post or even ...
5
votes
2answers
9k views

How do I add /blog/ as a prefix to permalink structure for blog posts, tag pages, etc.?

I'm using Wordpress 3.1.3 as a full CMS, installed in the root directory of a domain. I have it setup using the built in options to have a static page as the home page, and then my blog at ...
3
votes
1answer
587 views

WordPress Network on IIS7/SQL Server - Rewrite Issues

I've just installed a fresh WordPress setup on Windows Server 2008 Web R2 (IIS7) with SQL Server Express and WordPress 3.1. I completed the install successfully and logged into the admin section to ...
1
vote
1answer
2k views

add_rewrite_rule and pagination issue

I've got an issue, writing a correct rewrite rule. Basically, here are the examples of the url I want : /myPage/mySuPage Then the same with pagination /myPage/mySuPage/page/3 Then, the basic page, ...
6
votes
3answers
2k views

Pretty URLs for File Uploads?

Can files such as PDFs be uploaded to custom URLs? I would like to upload a PDF to www.example.com/whitepapers/pdf.pdf instead of www.example.com/wp-uploads/.... I found a plugin called WP Easy ...
2
votes
1answer
215 views

Adding more pages to author pages

At the moment I have the following code for changing the author_base slug. /** ADD REWRITE RULES **/ function change_author_permalinks() { global $wp_rewrite; $wp_rewrite->author_base = ...
0
votes
2answers
154 views

Permalinks for quote authors

What I have: A site of quotes with format: "Quote text." -Quote Author See quotup.com for my test website (my apologies in advance for the testing-profanity). What I'm after: Clicking "-Quote ...
1
vote
1answer
798 views

Can I change default registration link (without htaccess)?

I'm using url like «wp-login.php?action=register&role=patient» and «register_form» hook for add extra inputs form which depends on urls like this: ...
5
votes
1answer
267 views

Clash of the rewrites

I have a category called 'neighborhoods'. I also have child categories within 'neighborhoods' E.G. Lakewood, Highland Park... When I click 'highland park' the url is ...
0
votes
1answer
655 views

Custom Permalinks for Custom Post Types

I have custom post types registered and they are working fine with their normal URLs. My Custom post types have 'members' as their slug. Now I am trying to have a custom permalink for my custom post ...
3
votes
1answer
2k views

URL rewrite rules for multiple taxonomies query

I'm trying to create some pretty URLs for links querying multiple taxonomies. I'm using the "Taxonomy drill-down" plugin, although the main usage is now integrated @ the core it still has some helpful ...
0
votes
3answers
321 views

How to redirect a virtual page (e.g. /blog) to the home page?

I want my to reach my website's main page when entering an url like: http://example.com/blog However, I can't seem to get it to work with a typical rewrite rule: RewriteRule ^/blog$ / I'm always ...
2
votes
3answers
2k views

Multiple post types - share same ReWrite slug?

I've run into another wonderful 404 issue. I'm trying to have 2 seperate post types that share the same rewrite slug. I've flushed my rewrite rules, and when I test only 1 of the CPT works- the ...
0
votes
2answers
617 views

How do I redirect a post url to a custom url?

I've created a page that loops posts. Each post acts as a category link so that when you click it brings you to a category archive. My issue is that wordpress somehow overrides my htaccess and ...
4
votes
3answers
1k views

Using /%postname% for a custom post type

I have a custom post type whose permalink needs to sit in the same space as pages, like so: /an-example-thing <-- custom post type 'thing' /about-the-things <-- a normal page I'm well ...
5
votes
1answer
3k views

Change Author Base Slug for different Roles

is it possible to change the author base slug in dependency of the role? For example, authors get example.com/ninja/%username% and subscribers get example.com/trainee/%username% ? I am thinking of ...
0
votes
1answer
3k views

Posts URL structure like site.com/category/the-post-title

I'm new with wordpress and I would like to understand better if it's possible to create pages with an url based on the category and then the post title, so: something like ...
2
votes
1answer
2k views

Hijacking the URL for filtering

Right, here's the deal. I've got a loop of which displays news posts, these posts can belong to special categories (not normal categories) and I want to be able to filter by them. If I wasn't too ...
1
vote
1answer
693 views

How to rename 'Tag Base' with WPeC 3.8?

In Wordpress>Settings>Permalinks there is an option at the bottom of the page to change the 'Tag Base'. I've entered 'testtag' in this option and saved, but my tag pages are still displaying as ...
0
votes
2answers
1k views

mod-rewrite exception? keep #hash in matching urls?

Hey guys, My WordPress permalink structure is set to `/%postname%/. When I create a page with a name "FAQs" the permalink generated is "mydomain.com/faqs". When I link to this page in my code ...
1
vote
1answer
122 views

Plugin Appends ugly url string to index

A custom background plugin has started to cause certain browsers (FF, IE8,9, Safari) to reveal an appended url string when viewing the index page: http://dearearth.net - this mostly shows when not ...
0
votes
3answers
2k views

get variable from url?

say i've got a url http://bfami.modernactivity.co.uk/category/museum/orderby/date/order/desc/ that works with; add_rewrite_rule( ...
1
vote
4answers
871 views

Adding %author% in custom post type URL structure?

I'm trying to do some WordPress URL rewriting ... Specifically I have custom post type that currently works like this: http://mydomain.com/videos/post-title/ But I would like to have it located at: ...
0
votes
1answer
304 views

Wordpress 3.1.2 Network Enabled non-www to www

OK so i am drawing a blank. I have setup a WordPress 3.1.2 Network site and want the main site to appear with www.mydomain.com not mydomain.com and i can get that to work but the back-end on the ...
1
vote
1answer
412 views

How to prepend route with /blog for blog listing page only

My permalink settings is simply /%postname%/ (yes I read from the codex that this is bad performance practice). The result is: a page url might look like site.com/pagename a blog post looks like ...
1
vote
2answers
531 views

WordPress Page Id

I have a client (same for my previous post about the slider) who believes that the url structure needs to include a "google page id" to be compliant with google news. Therefore, they want the url ...
6
votes
1answer
2k views

Pretty permalinks for search results with extra query var

I'd like to know how I can rewrite a search URL that also contains an extra query var into a pretty permalink using wp_redirect and the template_redirect hook. I have taken the code from the Nice ...
1
vote
1answer
525 views

Is sanitize_title_with_dashes formatting function too liberal (in terms of accepted characters)?

sanitize_title_with_dashes (see code below for reference) is the function Wordpress uses to format "pretty" urls. However, contrary to the function's comment header, it allows much more than ...
0
votes
1answer
187 views

Adding Theme File for Non-Wordpress Content

I have a third party events plugin that uses custom tables in the database. I have created a theme file (event.php) that pulls the data in based on a slug that is ideally given in the URL. I want to ...
3
votes
1answer
242 views

Custom comments

I'm trying to create a custom comments page with pagination. I have non-hierarchical custom type "apartments". It makes urls like: /apartments/ - for acrhive /apartments/%id%/ - for post page ...
0
votes
3answers
2k views

Pretty URLs or permalinks for attachments

Theres a way to convert links like: http://www.localhost.lh/?attachment_id=41 into: http://www.localhost.lh/attachment/id or: http://www.localhost.lh/author/attachment/id
0
votes
1answer
627 views

Redirecting all old links from previous EE site to new WP site in one go?

I'm about to migrate from an old Expression Engine website to a new WordPress site on the same domain. Is there anything I should be aware of with respects to redirecting old links? The old site is ...
0
votes
2answers
447 views

Url rewrite with htaccess

I've just updated a website that used .php urls, to a Wordpress 3.1 site, that uses no file type extentions, (custom permalinks). They have a lot of references in their imported content to an old ...
1
vote
1answer
886 views

Use the plus sign “+” instead of dash “-” in URLs

Is it possible to use the plus sign instead of the dash as the word delimiter in the url? And if so, how exactly would that be done? e.g.: www.example.com/some-title/ becomes ...
0
votes
1answer
842 views

Change URL for Blog?

Using WP 3.1.1 as a CMS, using the Boldy theme. Home page is at http://www.dekho.com.au Advantage of using this theme, is that it comes setup with a homepage that has a gallery slider and some ...
3
votes
3answers
465 views

Custom permalinks

We have a custom type music. /music/ /music/post-name/ Also, we have a tag-like taxonomy genres. Its urls are: /music-genres/genre-name/ I'm trying to make urls like: /music/ /music/post-name/ ...