1
vote
0answers
21 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
36 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
17 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
31 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
11 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
37 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
36 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
44 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 ...
3
votes
5answers
150 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
18 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 ...
1
vote
0answers
119 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
33 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
168 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
65 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
42 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
109 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
37 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
64 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
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 ...
0
votes
1answer
45 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
0answers
55 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
49 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
80 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 ...
0
votes
0answers
42 views

Title as permalink for custom post type

I register new post type and I want its title as permalink to single post's page. Here is my code: register_post_type('video', array( 'label' => __('Videos'), 'singular_label' => __('video'), ...
1
vote
2answers
101 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
139 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
121 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 ...
0
votes
0answers
78 views

Multisite (MU) sub-directory 404 problem with modified permalink/url

I have the latest version of WP and CBOX which is basically a modified BuddyPress installation. I am using the BuddyPress plugin, Group Blogs, and I am trying to modify the permalink/url structure ...
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
2answers
118 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
27 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
106 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
61 views

Add “BuddyPress Messages” link to TML widget

I'm using the latest version of Wordpress with the latest version of Theme My Login and I would like to add a custom link so that users can go directly to their BuddyPress Messages from the widget, ...
0
votes
1answer
93 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
388 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
1k 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
68 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?
0
votes
0answers
182 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 ...
5
votes
1answer
267 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
855 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
386 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
418 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
477 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
527 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
1answer
61 views

How to show the homepage on a different url, like site.com/blog instead of site.com?

I have Wordpress installed in my root directory, so if you go to site.com you see the list of recent posts. What I want to do is to have the homepage show a static page instead showing recent news ...
0
votes
2answers
300 views

How to avoid duplicate Url for the home page

I am working on this web . I need to fiugure it out on how to avoid repeating the URL in the home Page. The Home page has actually two url creativesquaresummercamp.com/ ...
1
vote
0answers
149 views

How to create a custom url for a category

I took over a site that displays the category in the URL three different ways. For some categories it shows "?category_name=blah". (Not ideal, but I can live with it) For newly created categories ...
1
vote
1answer
162 views

display URL or permalink instead of page title in dashboard

Is there a way to display the page url or permalink instead of the page title on example.com/wp-admin/edit.php?post_type=page I am doing some A/B testing and some pages have the same title, but a ...
3
votes
2answers
234 views

Adding another word in front of post url

I have a wordpress website with bunch of posts. My problem is that I need to change the URLs from website.com/post-name to website.com/specialword/post-name The "specialword" is what I need to ...