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)

3
votes
1answer
592 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
7 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: ...
0
votes
1answer
19 views

How to Add Pages Under Custom Post Type URL Structure?

How can I add pages under the URL structure of a Custom Post Type? For example... If I had a Custom Post Type called "Knowledge Base" ... Located at: domain.com/knowledge-base/ ... and I wanted to ...
7
votes
1answer
83 views

Get default permalink structure from pretty URL's

When a single post is clicked on from a category page or for that matter any page, you can get the URL of that referrer and parse it to get the query string. But this only works with the default ...
0
votes
1answer
18 views

Call admin ajax using absolute url? Relative URL breaks (frontend ajax)

Hoping There is an easy way to do this/I am doing something horridly wrong: I'm trying to simply display a list of post titles. When a user clicks on the title it will display that said title's ...
0
votes
1answer
1k views

Use an anchor link to open an iframe inside a Wordpress page

My Question: How do you make an anchor link to an offsite webpage that when clicked opens up the offsite webpage as an iframe that is inside a new Wordpress page where the Wordpress header and footer ...
3
votes
5answers
5k views

URL Rewrite + Page + Custom Post Type = Unusual Redirect

Yet another URL rewrite issue :) The Problem I have a URL rewrite rule that should work, but against all logic it redirects without passing the query var. The Juicy Details The site has a page ...
0
votes
2answers
36 views

How to get the real address from a url (permalink)

For some reason i need the actual address of current page in my plugin , but after searching i can not find any answer on how i can get the real address of current page. I tested many functions for ...
0
votes
0answers
30 views

Change default URL of image attachment

I have only one image attachment per post, as featured image. Every post have just one image, featured image, and no any other image in post content. By default URL of image attachment is: ...
0
votes
1answer
23 views

Custom url for custom post types

Is it possible to create a custom url for custom post types? I have a directory website where in user can post or add a listing in many cities, I have a custom post type name ads. And all of the ads ...
8
votes
5answers
13k views

How do I get the avatar URL instead of an HTML IMG tag when using get_avatar?

I'm using a plugin called Simple Local Avatars which lets me upload author images which are stored on my server locally (no Gravatar). The plugin works fine and get_avatar returns the local avatar. ...
1
vote
1answer
507 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
0answers
16 views

Remove Page Slug from URL

I have a page www.website.com/merchant, this is a page post type. I placed a shortcode in this page to generate merchant information. So If the URL is www.website.com/merchant/store1, that page will ...
2
votes
2answers
780 views

WordPress 3.4 Permalinks Redirection Problem

A few years ago this was the permalink structure I had for my blog: /%year%/%category%/%postname%.html I changed these permalinks last year to this: /%category%/%postname%/%post_id%/ A ...
0
votes
0answers
16 views

How to create a dedicated folder for specific role via registration

I need to include an option in registration page so that user can enter a name for the folder that we can create for them (like this: http://MyDomain.com/User_named_folder or page). I saw this in ...
0
votes
4answers
292 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
1answer
661 views

How to pass on a value as parameter via url to another page

I'm dealing with a problem I can't solve myself. I did a few hours of research about it, but I didn't manage to make it work. I want to send a parameter via the url to the page I'm forwarding to and ...
1
vote
0answers
13 views

same slug for custom postype and page pagintion not working

I have created post type "news" and a page "news" so my url is like http://demoserver.com/testsite/news Here i use page template for news landing and i do not use archive.php page for post listing ...
1
vote
1answer
466 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
1answer
27 views

Stop Custom post type from being searched via URL

I am developing a website in WordPress and I have used a custom post type for people to use. The custom post type only shows if the user is logged in and is the author of it, this shows on the profile ...
0
votes
1answer
23 views

How to get the correct URL on my wordpress site?

I have an existing website, which I want to move to wordpress, while keeping the same domain name/ URL's used in the old version. So far I have installed wordpress locally, and am migrating the site ...
1
vote
1answer
233 views

How can I change a plugin's URL?

I'm trying to use the OTW Portfolio Light plugin and what it does is adds it's own bit in the URL before the post type and I can't find where to change it. Going to a profile page brings up the ...
0
votes
0answers
22 views

Is there a Standard Format for Clean URLs for Archives of Custom Posts?

Are there standard formats for clean URL's for the various types of archives one would want from a collection of custom posts? If, for instance, the slug for the custom post is "business": Author: ...
0
votes
0answers
9 views

Make custom taxonomy globally accessible

I have a custom taxonomy called 'location' which resides as a hierarchy. I want to keep this in the same way the categories are handled in Wordpress by default. I can query posts by location and no ...
0
votes
1answer
286 views

Remove site root trailing slash

I am using Wordpress for a "news" section on a e-commerce site. So the root of the wordpress install is in a sub-folder. www.mysite.com/news I have setup the home & site URL to reflect this in ...
0
votes
4answers
2k views

Add menu and submenu in admin with a URL instead of slug?

I use this function and hook: function mysite_admin_menu() { add_menu_page( 'Categories', 'Catégories', 'administrator', 'categories', 'a_function' ); add_submenu_page( 'categories', 'Manage', ...
0
votes
0answers
37 views

How to redirect after login getting a variable from url (for example with the language)

I use the default login form. I want the users with certain role be redirected after succesfull loggin to the home page, but in the language that user is using in the moment of loggin. This is an ...
0
votes
0answers
26 views

Get post id from url with custom taxonomy

I've been struggling for days trying to understand this issue. I'm redesigning a page on existing wordpress site and would like to show the client the working design without replacing the existing ...
0
votes
3answers
310 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 ...
0
votes
1answer
27 views

Wordpress custom form post to different page

I have a site which is developed with PHP and recently I added Wordpress blog(same domain with /blog url) to that. I would like to implement two extra functions(subscribe/contactus) on that blog ...
0
votes
1answer
24 views

Adding a query string to only one page url

I would like to add the following to a single page within my wordpress site and NOT all of them. Current page url/permalink mysite.com/pagename/ Would like to ...
0
votes
1answer
37 views

Update media file url in wordpress media library

Currently my videos are hosted within my wp installation. I want to move all videos to my new server. Currently, my media url are as follows http://mysite.com/wp-content/uploads/video01.mp4 I am ...
0
votes
1answer
37 views

Creating customized php files in theme folder

I am developing a e-commerce theme that requires an order page. I created a php file inside my theme folder named order-page.php and hope to access this page from the wordpress root url ...
0
votes
0answers
39 views

Integrating Code into Wordpress - URL issues

I am taking a form that has been created and now trying to incorporate it into WP. The form is filled out multiple times per session. The form when filled out will generate an ID that is used to track ...
0
votes
1answer
29 views

Best way to hook a custom url?

Let say I've a custom page with slug created "/products", I want user will be able to POST to a form with url "/products/create" and allow us to render some JSON output. The "/products/create" page ...
0
votes
2answers
33 views

Different templates for same content, landing page from different URLs (generic, simple)

I was wondering if anybody has a good idea how to solve this cheap. Assume there are two urls: example.com/portfolio-xyz example.com/portfolios/someidentification ...
1
vote
1answer
27 views

Display URL in a Custom Field

I'm using the following code to display several custom fields on my posts in WordPress, but the URL field doesn't work as I want and I don't know how to solve it: $destino_web = get_post_meta( ...
0
votes
0answers
28 views

Menu links' destination url changed to an hashtag

Here is the website: http://www.aiteq.it In the menu on the left, all of the links seem to point to "#",instead of the pages selected in the wordpress menu section of the control panel. Viewing the ...
1
vote
1answer
1k views

Allow single quote in URLs

I have a WordPress site hosted on a Go Daddy server running Apache. My experience is on Windows IIS, 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
0answers
17 views

How write rewrite rule to reroute tiny url?

I want to know how to write a regex : for exemple url: http://localhost/wordpress/post-title/lang/en become http://localhost/wordpress/post-title/en. I need a global rule for all types of posts? ...
0
votes
1answer
34 views

URL RewriteRule doesn't work when using WP Database Participants in my WordPress website

I'm using WP Participants Database plugin in a site developed using WordPress and I'm trying to transform: ...
6
votes
2answers
2k views

How to Change 404 page title

i have try many methods after searching on internet but unable to ramove Nothing Found from my 404 page title how to do it please help me even i have us this in my 404 page header if( is_404() ) ...
0
votes
0answers
38 views

How to set up custom URL structure in wordpress

I have created a page template in wordpress for user biography The biography page URL is: www.sitename.com/biography/ Each user will have his profile link containing his profile ID (it is more SEO ...
5
votes
6answers
200 views

Share same domain for wp-admin but for different website

I have site like http://www.foo.com http://www.bar.com And I've a wildcard SSL cert *.example.com, instead of buying two SSL certs for the above two domains, can I re-use my existing wildcard SSL ...
0
votes
1answer
61 views

Function to get URL of original uploaded image - full size

I am currently using the following code to get the URL of the featured image of a wordpress post: URL="<?php if (function_exists('wp_get_attachment_thumb_url')) {echo ...
1
vote
0answers
18 views

Why am I seeing all these weird 'loginid' requests?

I've been monitoring the access log for one of my Wordpress sites, and I'm seeing a lot of requests like this: /?loginid=df01ec6de1 I'll see a long series of these coming from one particular IP ...
0
votes
1answer
299 views

How to change image url?

How can I change the image url from this http://i0.wp.com/example.com/wp-content/uploads/2014/06/imagename Into this: http://www.example.com/image/imagename.jpg Or into this: ...
0
votes
0answers
24 views

How can I bulk repair image file names and urls?

I have a site that has lots of images that unfortunately have non-ASCII characters in their names. I need to url-encode them and any links that point to them. Is there a way to do this in bulk? I ...
0
votes
0answers
37 views

Remember me doesn't work with www?

On my Wordpress installation, "Remember me" works (tested in multiple browsers with multiple people) when the URL is entered as http://foobar.com. If the URL is entered as http://www.foobar.com, ...
0
votes
1answer
29 views

Issue On Displaying Pages with Post Name Permalink

I have a simple Theme like below Right now when I navigate to localhost and site root directory I am able to see content from header.php , footer.php and page.php. then, I simply generated some ...