Tagged Questions
1
vote
1answer
49 views
WP Login forms action URLs displayed as pretty URLs in browser (ex with Restore Password)
I would like to use the WP native login/register/restore password/.. functionality, but display pretty URLs instead of wp-login.php
I've been looking at the core code and noticed that most login ...
0
votes
0answers
26 views
Change URL of static page set as homepage
I've been on this one for a while and just cant seem to find the proper way of doing it....
I have a static page called 'digital' set as my homepage. I just want the home url to display:
...
0
votes
1answer
38 views
Per Page Permalink Structure for Page Post Type
I am trying to Re-Write Page URL's so that they END with .htm
I was able to do this using...
/* Add .htm extension to Page URL Links */
add_action('init', 'htm_page_permalink', -1);
function ...
0
votes
1answer
29 views
Prevent Wordpress from automatically correcting URLs
I notice that if I type in http://www.example.com/pag I can land on an existing page that has a name like http://www.example.com/page_five. I don't know exactly what causes this, but I want to know if ...
0
votes
0answers
4 views
Are there some permalink typology betther than other for SEO indexing? [migrated]
I am pretty new in WordPress and on my blog I am using permalink.
I have see that there is 5 typology of permalink and I don't know if some type are bettere than other for the search engine that have ...
0
votes
0answers
53 views
how to set up permalinks to contain special characters
I have been trying for months to make a one page WordPress site. This site has need for a special character set in the navigation in order to work. Each page is set up in an unordered list based on ...
1
vote
2answers
54 views
open all .docs in word online
Hey I'm trying to make all .doc/docx .xls/xlsx files open in office online.
This would mean that every link to a .doc
http://mywebsite.com/wp-content/uploads.link.doc
would have to instead point ...
0
votes
2answers
43 views
wordpress url correction
I have my wordpress site in a root folder like this "www.mysite/myblog/"
so to get to the blog you have to go to "www.mysite/myblog/"
I'm wanting to make it so that a user can go to "www.mysite" and ...
1
vote
1answer
114 views
Creating a dynamic URL structure
I want to create a directory structure for my WordPress links and for the final page to be based on the taxonomy of the page.
So I have a business that belongs to a city (meta) and country ...
0
votes
0answers
44 views
Rewrite URL to include custom field
I am using /%category%/%postname%/ permalinks.
Within two custom post types (and only those two), I need to append that URL structure with a third variable which will be from a custom field (provided ...
3
votes
1answer
81 views
Creating custom permalink structure for languages
I've written a simple multi-language system, whereby clicking on a flag icon sets a one year cookie containing a two letter language code (e.g. nl, de, etc).
I hook into the wp action to read the ...
0
votes
2answers
46 views
Is Wordpress API visible from PHP file called in htaccess
I'm trying to add some rewriterules in the .htaccess file to deal with hotlinked images - specifically I want to add the URL from the post where the image appeared to the header location information ...
1
vote
0answers
57 views
Changing URL scheme, mod_rewrite not helping
We're trying to move away from the /YYYY/MM/DD/Post-Title URL structure without breaking links that are floating around on the internet. The mod_rewrite rule is fairly straight forward -
RewriteRule ...
1
vote
1answer
73 views
Disable page access via query vars
I'd like to disable the default WP query vars (p, attachment_id, etc...), and make the pages only accessible by URI Permalinks.
I've taken a list of variables from WordPress Query Vars and created a ...
0
votes
1answer
121 views
How to Force WWW. in Domain With WordPress MU Domain Mapping Plugin?
I created a thread (How to make www. and no www. Go to same site, for all sites?) in the support forums for the WordPress plugin: WordPress MU Domain Mapping.
Everything is fine and dandy. I have a ...
1
vote
1answer
39 views
Organizing Your Pages
I'm having problems creating sub pages. So far I've followed the proper directions:
Go to a new page, click the "Page Parent" drop-down menu.
Select the
appropriate parent Page from the drop-down ...
0
votes
1answer
51 views
URL problem: www.sitename.com/blog and www.sitename.com/learn using same WP installation
I'm sure there has to be some way to make this with single wordpress instalation. Posts for "learn" page are tagged with "learn" and I built a custom template that has loop that prints only posts from ...
1
vote
0answers
82 views
Custom category URL rewriting
Here is the situation: let say I have a page called Press and that page has this url: www.example.com/press-center
Now, let say that I have a category Press (slug is press) and subcategory called ...
0
votes
1answer
91 views
Tricky URL rewrite with custom values in url
We have custom post type as user_images and each of these post has a image attached with image name is 3 digit number followed by extension.
When the url
http://mysite.com/wp_username/3digitnumber
...
2
votes
1answer
96 views
Display posts with author in the url with custom post types
I'm having a really difficult time with this.
I have a multi-user gallery site. Each author has his own page that lists the author's posts (this is a custom post type).
I have made it so that the ...
4
votes
1answer
209 views
Add forward slash on categories url (serve one version of a url)
How can I a add forward slash on categories URLs and serve only that version of a category (meaning URLs not ending in forward-slash will redirect to URLs ending in forward slash).
I manage to remove ...
2
votes
1answer
64 views
Appending numbers to url do not break the link
I'm doing some url and meta cleanup and have found a strange problem(?) where, when adding a number to a url, the url still works. For example:
The following uris both work and retrieve the same ...
1
vote
1answer
69 views
Taxonomy in URL
I have a huge problem: I want to have nice URL's on my Homepage. I got a custom post type and taxonomies. Now I want to have a URL like that:
www. mydomain ...
1
vote
1answer
275 views
How to Rewrite Wordpress URL for a Plugin
I am trying to build a Wordpress plugin here with a custom user admin area. What I would like to do is when the user adds /edit at the end of the page, it should open a page from my plugin. So for ...
4
votes
0answers
92 views
Restrict url to one segment, even when page or post is nested [duplicate]
I use nested/hierarchic pages purely for organizational purposes in the admin but on the main site I don't want a nested url structure. So if the page structure is /page/another-page/and-another-page, ...
1
vote
1answer
95 views
Get Taxonomy Term Title by it's URL
I have a URL - http://localhost/products/product-name/ and I want to use this URL to retrieve the title Product Name
This is out of loop, so the URL provided is all I have to work from. Product Name ...
0
votes
1answer
91 views
Rename page URL
I have the following URL structure:
http://localhost/wordpress/gallery?id=331
id specifies the id of the post.
gallery is a normal page inside which I am accessing the id of the post and fetching ...
2
votes
2answers
52 views
Rewrite category wordpress
Is it possible to rewrite only one category ?
I have a category "Photos" and just for this category.
I just want to rewrite it from /category/photos to /photos
0
votes
1answer
53 views
Wordpress post-type create url rewriting
i create a new post-type in wordpress.
The new post-type is called work.
I want to customize the link when the user click "details button".
The link is work/post_id/postname
I have a trouble to ...
2
votes
1answer
342 views
Using custom/dynamic “slug” for a page
I have a custom page which uses a template called "Stores" http://example.com/stores/. This page will have a list of states and/or companies as categories. For this system I have a custom post type ...
0
votes
1answer
99 views
Remove url parameter using wordpress
how can I remove a parameter from a URL in wordpress? for example if I have the following URL: http://domain.com/?cat=4&paged=2&order=DESC
How can I remove paged from it?
0
votes
1answer
73 views
Can I exclude a single URL from a rewrite plugin?
I am working on an imported .html site that has been using the .html on pages plugin to rewrite the URLs for inbound link purposes. Now I am trying to integrate it with a subdomain blog ...
4
votes
3answers
1k views
Add .html (dot HTML) extension to custom post types
Is there any way to add the .html extension to custom post types without plugin ?
For posts I can use /%postname.html on the permalink settings
For pages I can use:
add_action('init', ...
1
vote
0answers
55 views
ngnix Url rewrite doesn't work
on my server i have installed magento,which is in my root directory. then I created a sub-folder named blog in my site's server. access the blog url is:
http://example.com/blog ...
0
votes
1answer
324 views
Custom Post Types, URL rewrite on multiple CPTs
Re: Custom post types, taxonomies, and permalinks
by @TheDeadMechanic The solution above works perfectly, and rewrite is great, but can you advise on how to rewrite for more than one custom post type ...
0
votes
2answers
248 views
custom wordpress rewrite
I am trying custom rewrite for following url...
http://www.domain.com/lp/1
and it would be parsed using
lp.php?p=1
I have tried following...
add_action( 'init', 'aagt_rewrite_add_rewrites' );
...
0
votes
1answer
94 views
How can i maintain permalink structure and avoid a 404 error when loading external content?
I created a page called Catalog and also a template called page-catalog.php. The url looks like this now:
sitename.com/catalog
So far so good, however i use some custom php stuff to list products ...
0
votes
1answer
164 views
Rewrite /category/cars into /topics/cars
I know there are plenty of question and posts about this out there, however I couldn't find a solution or existing thread to my specific question.
If I list my categories and click on "cars" the url ...
2
votes
3answers
299 views
flexible rewrite 'ramble' URLs with Wordpress
I want to access my post with id 17 like this:
http://localhost/archives/17/moot-bla-foo-ramble
In other words, the id shall decide, everything thereafter may (or may not) be the slug or anything ...
0
votes
2answers
314 views
custom url - add attachment's id or name after post
I want to link to attachments but through its parent page.
/directors/piranha-bar/ shows all of that post's attachments on single.php
and i want /directors/piranha-bar/video/name-or-ID/ to still use ...
2
votes
1answer
322 views
How to create a specific frontend URL (not a Page) from a theme or plugin?
My theme implements an AJAX action that returns some dynamic content and needs some functions from the Wordpress environment. How can I construct a URL for the AJAX call in the most elegant and robust ...
1
vote
1answer
472 views
Allow single quote in URLs
I have a wordpress site hosted on a godaddy server running apache. My experience is on windows iss so this might be an easy question but I can't figure it out. I want to allow urls at my site like:
...
0
votes
1answer
204 views
How to prevent URL-modification when page title contains digits only?
When I create a page whose title contains only digits - wordpress adds '-2' to the url, like it does in cases, where there is a page with the same name already existing. However this is not the case ...
0
votes
1answer
2k views
custom htaccess rewrite rule for page
i have a page in wordpress called "video". its page id is 6, and its slug is "video"
in my theme ive set it up to show content based on GET variables
here is the URL rewrite im trying to set up:
...
1
vote
1answer
1k views
“.#[random-char-string]” being inserted at end of URLs
I've seen this on a couple of sites now and I'm having trouble finding information about (probably because it's awkward to describe):
All internal URLs like this for example:
...
0
votes
1answer
176 views
Modifying WP URL handing code?
I am trying to use mod_rewrite and modify WordPress' URL handling to allow for passing variables to PHP from the URL while maintaining "pretty permalink" functionality. (on WP 3.2.1)
Something like ...
1
vote
1answer
255 views
Author Specific URL's in WordPress
In continuation of this thread
Mapping multiple URLs to same page in WordPress
is there any other way except redirect similar pattern URLs to same page.
Our goal is to provide our guest and other ...
1
vote
3answers
2k views
Mapping multiple URLs to same page in wordpress
I just came across this page with almost similar requirements as mine
Multiple endpoints to same page
i have to achieve same functionality but i also want to pass some parameters to the page where ...
0
votes
1answer
363 views
How to deal with a GET variable of 'name'?
I'd like to have a custom registration confirmation page live within a WordPress site. I can provide a URL for this page to an external site. When the registration is successful the URL has several ...
6
votes
1answer
471 views
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
...