0
votes
0answers
29 views

Is it possible to rewrite a page url Without setting the permalinks to Post Name?

Is it possible to rewrite the page url if your page link is for example localhost/wordpress/?p=123 ? Instead of post_name.php?.... (So the first option of permalinks and not post_name.
0
votes
1answer
15 views

Adding pretty query parameters

A custom post type named shooting has a field (with ACF) with plenty of images. Those are listed on the single.php of the CPT and one of those images is displayed in full-ish size. I currently have ...
0
votes
1answer
26 views

How to stop Wordpress creating URLs that dont exisit

I have a website that is constantly created URLS that don't exist. For example a category section that only has 2 pages in it, for some reason is allowing the creation of other URLS - see below eg: ...
0
votes
0answers
38 views

Rewrite / Mask URL of Auto Generated Page

I am using an old unsupported Wordpress plugin (Tan Tan Noodles) that pulls in a photo sets from flickr and auto generates a html page in Wordpress. A resulting URL would be: ...
-1
votes
1answer
37 views

Remove parent page from url

I would like to remove the parent page name from the permalink. At the moment, I have site.com/parent-page/child-page.php and I would like to have something like that site.com/child-page.php
0
votes
0answers
45 views

Removing top-level pages from URL

The pages (not posts) on my site follow a hierarchical structure, where top-level pages have no content and are only used to group the lower-level pages in categories. That way, the page us has no ...
0
votes
0answers
35 views

How to put a Custom Folder under one sub-site of Multisite WP?

I have a multisite wordpress and i'm now trying to have a custom directory under 1 of the sites of the multisite. Example: http://apple.example.com http://banana.example.com/myfolder ...
3
votes
5answers
153 views

Update URL Snippet to Canonical Permalink URL

My permalinks is in the format domain.com/post-id/post-slug I notice this is a great choice for permalinks as I can share articles with a short URL like domain.com/123 But when I go to this short ...
0
votes
1answer
28 views

Customize category URL

I've searched around and have not found the answers im looking for. By default I have: example.com/blog (blog archive) example.com/blog/entry (single entry) example.com/blog/category/announcements ...
1
vote
0answers
126 views

How to get pretty URLs with add_query_arg in permalinks

With add_query_arg() it is nice to add additional parameters to an URL and it is also easy to create a rewrite rule. So far so good. But the problem is the URL replacement done by wordpress. When I ...
0
votes
0answers
20 views

How to do an URL rewrite

I'm trying to rewrite my URL structure. I want to delete the parents in my URL. So for example www.test.com/parent1/child should become www.test.com / child and www.test.com/parent1/parent2/ should be ...
0
votes
0answers
59 views

Modify / Rewrite single template url structure

Is it possible to add the post category name to the the WordPress single template url structure if i am not using category pages to build the site menu? from www.domain.com/single-post-title to ...
0
votes
0answers
81 views

WP Multisite URL rewrite static content folder

I have a WP multisite installation on the root folder. one of the sites have a subdomain subdomain.mysite.com in the root folder there is a sub directory called /subdomain-static folder ...
0
votes
1answer
113 views

Custom rewrite rules for feeds of custom queries (query_var query strings in URL)?

Question updated. What I'm trying to do If I want to display posts (or a feed of posts) that belong to a category AND a custom taxonomy, or a category AND a tag, or a custom taxonomy AND a tag, I ...
0
votes
0answers
49 views

Use of unicode postname when using custom generate_rewrite_rules

I have a custom rewrite rules like.. add_action('generate_rewrite_rules', function ($wp_rewrite) { $wp_rewrite->rules = array('products/(.+?)$' => ...
0
votes
2answers
44 views

Custom Post Type URL Rewrite's

I am going to try and sum up what I am trying to achieve... Basically I have a custom post type called 'marketing_list' which will have custom fields holding information relating to marketing lists ...
0
votes
0answers
13 views

Setting up a virtual subdirectory to display identical content as root directory [duplicate]

We have a standard Wordpress installation being used as a CMS. We're using standard pages with basic permalinks (e.g., /page/ or /parent/page/). We'd like to have that exact same content mapped to a ...
0
votes
0answers
32 views

How can I process all requests for a given directory in a URL with my plugin?

I'd like to pass all requests for a given directory using a plugin or template file. For instance, all of the following requests would be sent to the plugin: mysite.com/directory/blah ...
0
votes
0answers
29 views

Custom Permalink Base

To enable all category, single and archive pages to render the url with a prefix of "news". E.g. www.yourdomain.com/news/category/post-name I set the permalink structure as ...
3
votes
1answer
132 views

Why does wordpress still strip my query var?

Im trying to pass a query var to a custom page template with pretty permalinks. So basically i have a page called "albums". And i want to pass a query var to that page called "type". So the ...
0
votes
0answers
98 views

Rewrite a specific Post Format to URL slug

I'll cut to the chase. I am using Post Formats on my WordPress 3.6 site, specifically 'Video', which I want to include in the URL slug. I'm pretty well verse in WordPress plugin writing etc, but ...
0
votes
0answers
56 views

How to Replace the Post title with post_ID on the URL for Custom Post Type?

I created a custom post type and also registered taxonomy which is working just fine. Now on the URL it shows something like this: url/cpt/taxonomy/post-title But I want to change the ...
0
votes
1answer
74 views

Remove subfolders from URL

I am having a tough time removing the subfolders from the URL in my WordPress site. Currently, the URL format is: www.mysite.com/subfolder/index.php/category/postname I would like to remove both the ...
0
votes
1answer
56 views

Change Wordpress comments url / word

Is this possible? For example, I want to change http://mysitesitesite.com/post-name/comment-page-1/#comment-452 to http://mysitesitesite.com/post-name/custonname-1/#customname-452 What should I ...
0
votes
0answers
44 views

Rewrite/append all URL's with variable if user logged in

I need to add a variable of the username to all of my URL's when the user is logged in. So for example it would be: www.example.com/?user=user1 www.example.com/category1/product1/?user=user1 The ...
1
vote
0answers
124 views

Multiple post categories - single permalink

I created a post which is assigned to multiple categories. Eg: I have a post "My Post", and I put it in "foo" and "bar" categories. Now my article will have two permalinks, "/foo/my-post" and ...
4
votes
1answer
89 views

Pretty Permalinks

I've created my own search functionality which basically finds the nearest store closest to the entered postal code. My URL for the search currently looks like this ...
0
votes
1answer
60 views

Custom Post Type, post-formats associated to custom post type > 404 archives

I'm finishing a custom layout. Here's the code of my Custom Post Type <?php /* ------------------ [ CUSTOM POST TYPE ] ------------------------- */ add_action( 'init', 'create_post_type' ); ...
2
votes
1answer
45 views

Is there a 'rake routes' for wordpress?

Is there an equivalent to 'rake routes' in php/wordpress that would spit out all the available wordpress url paths available?
1
vote
3answers
196 views

Changing RSS feed URL structure

I am in the process of creating a wordpress website, and I just have one issue left - RSS feeds. Currently, the website has a .htaccess file blocking access to /category/* pages. It was part of a ...
0
votes
2answers
120 views

Exclude subcategories from the url

We have a site with categories and subcategories. If anybody navigates to a content belongs to a subcategory the url will have the following form: domain/main-category/sub-category/mycontent/ But we ...
3
votes
2answers
217 views

How to build custom WP admin with custom URLs

I would like to create a custom WP admin area, that uses custom URLs to navigate thought it and have a custom generated HTML. A member will be able to login via a custom URL, for example: ...
0
votes
2answers
28 views

Access posts while mod_rewrite is broken

On my wordpress installation mod_rewrite (e.g. the permalinks) is temporarily broken. For debugging I want to access the formerly "prettified" page mydomain.tld/page/2. What is the old GET parameter ...
0
votes
1answer
80 views

Get logged in username in wordpress url

I want to get the username of the logged in users in the URL of my wordpress site. Like if user: arvind is logged in, I want to get the url as 'www.wp.com/arvind' or 'www.wp.com?user=arvind'. Is ...
1
vote
1answer
334 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
115 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
125 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
93 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 ...
1
vote
2answers
130 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
80 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
831 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 ...
3
votes
1answer
545 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
75 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
91 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 ...
0
votes
1answer
440 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
56 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
80 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
218 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
227 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 ...
4
votes
1answer
270 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 ...