0
votes
1answer
32 views

Custom Post Type Categories Not Maintaining URL structure any more

I'm having a really hard time with this... I have a custom post type called "locations" that has several taxonomies for it. I was originally able to get it so that when you clicked on the category / ...
1
vote
0answers
23 views

How to generate a list of all urls

I'd like to display a list of all Urls of my Wordprees site. I print out a list of all taxonomy terms like this : <?php // Get all Post $html = '<h2>Articles</h2>'; ...
0
votes
0answers
11 views

Getting Wordpress Permalinks to match menu navigation

I am trying to get my permalinks to match the location of where the page/posts lie in the navigation menu at the top of my page. For example, my travel site has has a post about Torres del Paine ...
0
votes
1answer
33 views

Create custom permalinks to show Custom Post Type's relationship?

I'm creating a WordPress site that has 3 custom post types registered: course, chapter, and lesson. All of these post types are inter-connected and share a relationship using custom fields. For ...
0
votes
2answers
72 views

Issues with Wordpress permalinks

I am new to wordpress but have experience in Drupal. I am developing wordpress site which I access as localhost/site1. I created another copy of it to experiment a few things. I can access another ...
-1
votes
1answer
68 views

Why does my subcategory URL give 404 eror?

I'm using WordPress's standard theme Twenty Fourteen. Here is my problem Not Working: http://ispeedify.com/internet/paypal/ I've made my "PayPal" a sub category of the parent "Internet". But the ...
0
votes
0answers
39 views

How to extract URLs from wordpress taxonomies

I am in quite a trouble. I need to extract all possible url from my wordpress blog be it of post, tag, category or anything else after domian-name.tld/*. I tried my hand on few available codes and ...
0
votes
1answer
21 views

Blog posts are not appearing as subs of Blog Page

I'm trying to set up a new blog on my company website and blog posts are not showing up as subpages to the blog page. I would like for the url to all blog posts to read: ...
0
votes
0answers
31 views

Is it possible to change %post_id% in permalink by a constant?

I had an assignment of moving Joomla 1.0 content, categories and other stuff to the latest WordPress. Everything went fine, a few PHP scripts, a bit of fiddling with MySQL. But then, unexpected ...
0
votes
1answer
22 views

How to customize custom taxonomy url?

I have a Custom Post type "Data" with a custom Taxonomy "data-category". Currently my site url when I visit a 'data-category' shows like this : www.mysite.com/data-category/home-loan Here Home-Loan ...
1
vote
0answers
49 views

Pre-populate Slug / Permalink with URL

I would like to not only pre-populate the title, tags, and categories, but would also like to pre-populate the slug / permalink as well. Can I do this and if so how? Here's my functions.php code: ...
2
votes
1answer
40 views

How is WordPress manipulating the posts like there are folders?

As you know, a WordPress post can usually be seen going to a link similar to this: myblog.com/2014/03/27/sample-post/ There is no folder named 2014, 03, 27 or sample-post in the blog. Until now, I ...
0
votes
1answer
36 views

Removing parent page in URL for one page

I have a page e.g.: mysite.com/parent/child1/child2/page And I want the URL to be: mysite.com/page But only for this one page ... not the entire site. Is there a way to do this without using some ...
0
votes
0answers
48 views

Sharing two subdomains with a single WordPress without MultiSite

I want to have a single Wordpress installation for use of two domains e.g. http://blog.example.com for blog http://www.example.com for company pages I don't want to use multi-site setup, because ...
0
votes
0answers
12 views

How would one go about adding a category name to the url of multisite subsite?

How would one go about adding a "category" name to the url of multisite subsite? eg. http://mainsite.com/categoryname/subsite Simply editing site info settings doesnt help. I am trying to make a ...
0
votes
0answers
200 views

Get canonical link

Hi I know get_permalink returns the URL. Some of my posts are redirected and at the same time I update the canonical link to the redirected post URL - (normally relates to post updates). Is there a ...
-1
votes
1answer
77 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
1
vote
0answers
91 views

Relative v.s. absolute URLs: which ones should I use for cross-domain portability?

My question is related to but different from this one I need to make sure that my URLs work across domains like staging.domain.com, localhost:8000 and www.domain.com. I have local, staging and ...
4
votes
4answers
265 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
29 views

How to display post permalinks instead of pages?

I am working on a website for comics, and whenever you go to it, it should open the latest POST. I have no pages, I deleted them all. All the website has, is posts. So I want that whenever people ...
2
votes
1answer
341 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
1answer
40 views

Using a taxonomy value as part of a post URL

I'm working on a Real Estate site using the following permalink format for properties: http://www.site.com/property/1330-5th-avenue (property is a custom post type for listings) How can I ...
0
votes
3answers
505 views

How to get url of a post from admin panel

I want to get post url from the back end edit post page, the edit post url is : www.ddd.com/wp-admin/post.php?post=1&action=edit the real post is: www.ddd.com/wp/?p=1 since the user can edit ...
0
votes
1answer
111 views

replacing post ID by custom post name in url

I am stuck in replacing post ID by custom post name in url. link is as shown below: href="'.$url.'/'.$options['applyp'].'/?pos='.$post[$i]->ID.'" i need to replace ?pos='.$post[$i]->ID.' by custom ...
0
votes
0answers
48 views

Capital letter in URL

How can I make all of my page names in URL begin with capital letter? I need this to maintain PAGERANK. Example http://www.example.com/page ---> http://www.example.com/Page
0
votes
1answer
187 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
2answers
47 views

Why is there a # and other characters in URL for WordPress site?

I have a WordPress site and have re-written the URL for SEO friendly URLs. But I keep getting this at the end of all pages /#.UmNDU_mnqy4. e.g.: www.example.com/contact-us/#.UmNDU_mnqy4 Can this URL ...
0
votes
0answers
89 views

Custom Post Type Slug prefix that includes the path of a post from another custom post type

Let's say I have the following post types: secondary episode I have a post named "Episodes" in post type "secondary" (to talk about and list recent episodes), its url would be: ...
0
votes
0answers
33 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 ...
0
votes
1answer
94 views

Unwanted Links and Spam Wordpress Pages and Posts

In webmaster tools I have a number of crawling errors of the Google spider. for example http://mydomain.com/my-page/de/roulette.html They say they cannot crawl to this page.. but what kind of page ...
0
votes
1answer
126 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
54 views

Suddenly new posts have the default permalink instead of the post name

One of my clients' sites has suddenly and for no apparent reason decided to disregard the custom permalink structure when you add a new post. The permalink structure is set to /%postname%/ So ...
0
votes
1answer
201 views

Confusion about how a URL is being parsed

I have a permalink that leads to some custom content like: http://mysite.com/extra-deal/91103/ That will take you to a page that is handled by the file: category-extra-deals.php On that page I ...
1
vote
2answers
142 views

Wordpress not opening posts with only numbers if permalink is post_name

Someone knows why this happens? For instance, I have a post called 1987, but it does not open it when I click on the link. When I use a different permalink structure, it opens it. Why is this and how ...
0
votes
3answers
239 views

WordPress keep redirecting me to random URLs

When I go to my homepage, http://example.com, I sometimes get redirected to http://example.com/SXKSLW/ or some other random URL along that pattern that yields 404 page. I do not remember doing ...
1
vote
0answers
166 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
103 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
3answers
233 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 ...
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
180 views

Hierarchical permalink structure for posts showing categories and sub-categories

I'm having a lot of trouble finding an aswer to this. This is what happens to my permalink structure currently: When I open the page, filtering all posts for a category, the url is: ...
0
votes
1answer
137 views

Update permalinks after domain change

I installed my blog in a free hosting webpage, the hosting gave me a free domain and I used that domain in my blog, then I did buy a .net domain, I changed the URL in Settings->General of my ...
1
vote
1answer
685 views

why does anchor name add a slash to url?

I am trying to do what should be some the most basic html, but it's not working for me. Here is my code: <a name="rocket"></a> <div> <h3>The Title</h3> <p>some ...
1
vote
1answer
2k views

How to get permalinks with category base working with sub-categories

I ran into an issue with a site that needs the category base also included in the custom permalink structure. I know this is an issue and I have read many posts like this that gave me some insight... ...
1
vote
1answer
77 views

How to use all tags in post permalinks

My site with pictures is set up so that the posts do not have a title and have only tags. I would like to know how to use all tags in permalinks settings?
5
votes
1answer
342 views

Wordpress Permalink changes to question mark (?) in URL

My Permalink custom url is /%post_id%/%postname%/ and my website is in Persian language, for some posts the Permalink is change in URL from ...
4
votes
2answers
1k views

Catch 404 after changing permalink structure from /%postname%/ to /%category%/%postname%/

I made a site some time ago and after some days some posts were indexed by search engines. Today I changed the permalink structure from /%postname%/ to /%category%/%postname%/. After that, when ...
3
votes
2answers
520 views

Removing hierarchical pages in the permalink

I have several pages set up in a hierarchy on my site. Currently the site's pages and URLs look like this. Page name | Current URL | Preferred URL ...
1
vote
2answers
577 views

Setting up two separate blogs while using WordPress as a CMS

I need to get this set up ASAP and cannot seem to figure out how to do this after searching and searching. I am using a WordPress install mostly as a CMS. I would like to have two separate areas on ...
2
votes
1answer
702 views

How to increase the character limit for post name of 200?

I have post name in Thai which uses UTF-8 character. Many of them encode into super long in ASCII e.g. วิธีการหลีกเลี่ยงข้อผิดพลาดทั้ง-8-ในชีวิตการแต่งงาน I've changed the type of "post_name" using ...
3
votes
1answer
956 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 ...