A uniform resource locator, abbreviated URL, also known as web address, is a specific character string that constitutes a reference to a resource.

learn more… | top users | synonyms (1)

0
votes
1answer
45 views

International characters in slugs to redirect to

I would like to add special Hungarian characters to slug. Also in the slug of the post, and in taxonomy. . Eg "kér", "ács" etc. This slug then applied also in the URL. Is this possible?
0
votes
1answer
19 views

Navigation and Permalink not getting correctly

I have menu- submenu and also add to category -sub category Incoming Partial incoming (page created) Fully Incoming (page created) Outgoing Partial Outgoing (page created) Fully Outgoing (page ...
0
votes
1answer
42 views

Wordpress site URL changed; how to fix it without database access?

we would like your assist on an error that occurred during some changes on the admin panel. We have this site called Caid.gr , it's for a non-profit company. We changed the Wordpress site URL by ...
0
votes
0answers
32 views

Page with same name of category

I've a category "news", I've removed /category from url so final URL is example.com/news/. Now I want to create a page (not a subcategory) "sport" which final URL has to be example.com/news/sport/. To ...
0
votes
1answer
48 views

How can I display a specific number of post in a category via a url

I'm trying to link to a specific category in my blog but limit the number of posts that are listed. I can link to the specific category via "www.example.com/?cat=6" and after looking around the web ...
1
vote
0answers
31 views

rewrite taxonomy-{taxonomy}-{term}.php terms

I try to figure out a rewrite problem, that is a somewhat over my head, so i ask here to find out what i can do. I use this two solutions from Jeff 1 and Milo 2, to get a full-path url for my custom ...
0
votes
1answer
35 views

How to add page under a custom post type?

I would like to add a page that uses a custom template (page-coffee-about.php), so it will appear under a custom post type called "coffee". The URL of the custom page should be ...
0
votes
1answer
370 views

How do you get all the urls of images attached to a post?

I've searched high and low and can't seem to get it. I'm trying to output an XML feed with all the images attached to a post from a custom post type: </BasicDetails> <Pictures> ...
0
votes
1answer
288 views

Function to get custom post image URL

I have to retrieve the URL from a custom post image, just the URL, like: http://example.com/wp-content/uploads/blablba.jpg. The code which I have to filter is this: <?php cp_get_image_url(); ...
1
vote
0answers
78 views

Wordpress can generate numeric permalinks, which then 404

I know why setting a numerical permalink for a post would mean Wordpress confuses page name and number. However, I notice on the site I am working on (Wordpress 4), that you can edit the permalink to ...
0
votes
0answers
45 views

Moving Wordpress to a subfolder and update URL (same server)

I'm having some problems with my blog right now. I want to move it from my original root to another folder AND update the URL too so I can make other blogs with the same domain name. Step-by-step : ...
3
votes
1answer
138 views

Rewrite rule page url with category

I have enabled the category box for pages with this: // Add to the admin_init hook of your theme functions.php file add_action( 'admin_init', 'page_categories' ); function page_categories() { // ...
0
votes
0answers
24 views

How to use pretty urls with given parameters?

I am a bit in trouble finding the right solution or a plugin which handles my parameters to pretty URLs: Right now im using links like: <?= add_query_arg('post', get_the_ID(), get_permalink(83)) ...
1
vote
1answer
52 views

Random post category URL

I'm trying to get a random post URL, only in current category. This is my code, this returns the URL category, :/ <?php $current_cat = get_the_category(); $randomPost = $wpdb->get_var(" ...
0
votes
1answer
785 views

Redirect Image Url to a page via htaccess

I am trying to redirect Image Urls to a page. I have used 301 Redirection plugin, but that doesn't seem to work. For ex : http://mywebsite.com/wp-content/uploads/2015/02/Contestant-11.jpg should ...
0
votes
0answers
44 views

Stop WordPress from sending custom GET parameters on form submit

I have a custom menu page I'm building for a theme. This page displays a list of items and also a form to add a new one. The table with the items also displays links to delete each of the via URL GET ...
0
votes
1answer
53 views

Using esc_url_raw with protocols properly

I'm trying to build up my own function to sanitize a URL before saving it to my WP database. However I cannot get esc_url_raw to trigger against unwanted protocols. The function below is letting all ...
0
votes
2answers
97 views

Blog post - single.php url

I have a simple blog page that just lists blog posts on a page called 'news' http://my-site.co.uk/news I have a single.php page to display the actual post when it is clicked on 'news' The ...
0
votes
0answers
26 views

Moving Site: Is Re-downloading Files After Changing URLs necessary?

On the Wordpress Codex: Moving Site page under Changing Your Domain Name and URLs, it states that you should re-download your site files (Step 5) after changing your site URLs (Step 4). Is Step 5 ...
-1
votes
1answer
182 views

How to make pages slug have priority over any category

I use WordPress. I need to show page instead of category when they have same slug. I have category called "Acne" with the slug "Acne" page and the category have the same slug. When I write ...
0
votes
0answers
171 views

404 when remove Slug base custom taxonomy and custom post type

I have a custom taxonomy (cities) and a custom post type (spots). I have removed the custom taxonomy base slug and the custom post type base slug to have this : mysite.com/amsterdam (all spots in ...
0
votes
1answer
66 views

Double slash in the_terms URL

I recently moved a parent category and its children from the default categories taxonomy to a new custom taxonomy. The data moved over just fine and posts are properly associated with the company name ...
2
votes
1answer
101 views

Password protected page Hash url

I am using owl carosel which takes a hash url to go to a specific slide (http://www.owlcarousel.owlgraphic.com/demos/urlhashnav.html#five) Lets say I want to visit a password protected page with the ...
1
vote
0answers
33 views

Changing URLs for taxonomies and CPT

I have two taxonomies for my custom post type: location and price-range. location is hierarchical: city > region > suburb ... price-range isn't. When a user goes into a URL like ...
0
votes
0answers
25 views

How to make my taxonomy URL work?

I register my taxonomy ( Writer ) with this code : function writer() { $labels = array( 'name' => 'writer', 'singular_name' => 'writer', ...
0
votes
1answer
35 views

MultiSite Move conjures duplicate URL

I just tried to do a very painful move of a multisite. I thought I had everything working until I clicked a blog link on the MAIN site and I was greeted with a duplicate url. Something like this ...
0
votes
0answers
110 views

Page with the same name of a category

I've a category, let's say "testcat". I want to create some pages which the final url should be "http://example.com/testcat/pagename". To do this, I should create a page named "testcat" and then a ...
0
votes
1answer
26 views

Creating custom URL for async content

I am using a fully asynchronous Javascript/jQuery portfolio gallery (Grid Gallery template in Photolux theme). When a portfolio item is clicked, the item's details loads. It is built-in in the ...
0
votes
1answer
27 views

When using number in url it is redircting to same page but when using character it redirects to 404

I have a website e.g abc.com in wordpress, when I enter any url like abc.com/blog/1232132 then it is redirecting to the same url and showing the content of abc.com/blog but when I am using urls like ...
0
votes
1answer
43 views

Changing custom post type URL issue

I have this function and it does just what I need, it replace words in URL perfectly, but links don't work. All links are good and display on site well structured, as I wanted, but just don't open ...
0
votes
0answers
312 views

taxonomy term in URL slug won't forward to the correct term for custom post like it does for default categories/normal posts

so I notice when you type the URL of a post with a category (eg category5/post), it will automatically forward to the correct category in the URL (eg category5 changes to category1) if the category ...
0
votes
0answers
83 views

How to change existing image links to go to Attachment Pages?

Currently, all the images on the posts are linked to their parent post pages so that when you click on an image, it'll try to to go to the parent post page. But due to a recent Permalinks change, it ...
0
votes
0answers
33 views

How to fix social media profile URL appears in the end of every WordPress posts' URLs?

I am having issue right now regarding my WordPress URL. Not only appears on posts' URL, but also in the main domain. My social media profile URL always appears in the end of every URL of my WordPress ...
1
vote
1answer
404 views

Having Problem On Getting WP Post Gallery Images URL

I need to get the URL (actual Size) of all images of gallery associated with a post in single.php. The following code from Codex returns all images in very small size 150x150 which is not suitable for ...
0
votes
1answer
158 views

Accessing a file saved outside webroot in a wordpress post

I have some files saved outside the webroot and need to allow posts in WordPress to be able to access the files. Following is the location of one of the files: ...
1
vote
4answers
80 views

How can I update dev links for a live site?

Our scenario is a large MultiSite network, our team builds stage sites for clients by creating a new subsite on the network, so the URL for dev work and then for the client to preview is something ...
0
votes
1answer
252 views

Add a query string to ALL links on site

Our client would like to embed his site into an iframe in their software backend. I get a query string on the first link but need to make sure that string persists across URLs for all links and ...
0
votes
0answers
88 views

Navigating from a custom post type single page to the list

I have a question regarding my single-tutorijali.php ("tutorijali" is the name of my custom post type). I have created it to display these custom post pages differently than "normal" posts. I link to ...
0
votes
0answers
55 views

Custom post types - Archive or parent/child for navigation

So, I want to redesign my website using WordPress (as CMS) and Bootstrap (as front-end). Now, I've been pretty successful at doing so, but I have one specific problem. I have a tutorial website and ...
0
votes
1answer
46 views

TinyMCE Javascript URL Question

ed.windowManager.open({ file : url + '/shortcode_generator_popup.php', I would like to move this file one folder above the current one that it's in. I'm wondering how I can rewrite ...
0
votes
1answer
77 views

How to add a meta information to the URL?

I need to put a post meta information to the URL: www.website.com/custom-taxonomy/postname-[metainfo] How to change the rewrite rules, that the content of this meta information is added to the URL? ...
1
vote
1answer
116 views

Stop Wordpress appending `-2` to the end of my url after i change it

When i try to set the url of a page in wordpress (4.2) it keeps apending -2 to the end of the url, i guess its becuase this ulr already exists, but i checked and it dosnt, although at one time it did ...
0
votes
1answer
34 views

Domain name to a page

I have a wordpress single blog located in a server. Say the server address is http://100.100.100.100, and my wordpress single blog can be accessed via http://100.100.100.100/mysite. I've mapped this ...
0
votes
0answers
46 views

WordPress generating 2 URLs of single post

I have created my own wordpress site , I have assigned category called "mycat" to post. Now wordpress has generated 2 URLS : 1 - mysite.com/mycat/post 2 - mysite.com/post It is good that ...
1
vote
1answer
349 views

Remove the http protocol from images

I've been banging my head on the wall trying to filter my posts to remove the http: protocol from the img src and I think I may have found a solution. Does anybody see anything wrong with this ...
0
votes
0answers
57 views

I'm doing this single page website the right way?

I'm making a single page web site using WordPress and I want to know if I'm in the right direction, and if this is the best way do it. First I'll show how the website is structured, it has 4 pages: ...
0
votes
1answer
154 views

taxonomy/category term in URL slug irrelevant for post?

so I've got a nice hierarchical system working involving custom post types and taxonomies. (see Custom post types, taxonomies, and permalinks for reference) So if I have a post with ...
0
votes
2answers
102 views

Call featured image url

How do I get the URL of my featured image? I am using buffy and I can Call The URL of The post and so on, but can't figure out how to Call The URL of The featured image.
0
votes
1answer
432 views

how to load posts to a custom post template after using template_redirect or template_include

I need to use the URL parameter ?m=1 to load every page of my wordpress with a different template but the problem is that I can't pull the text and posts that can be accessed using the canonical URL I ...
0
votes
0answers
174 views

Changing attachment url?

How to change default attachment url: www.domain.com/category-name/subcategory-name/some-post-title-here/attachment/some-post-title to: ...