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
53 views

How to check if a page exists by url?

I need to display certain content depending on whether or not a page URL exists. I don't want to check by title, because certain pages will have the same title, and just different parent pages. ...
0
votes
1answer
34 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 / ...
0
votes
0answers
18 views

Different Slugs depending on last page

is it possible to configure WordPress on some way that if i have a portfolio Item ( from my theme ) which will be opened from 2 different pages and w/o an URL jump so that www.xyz.com/brands/example ...
0
votes
1answer
424 views

Adding custom url to readmore link using get_permalink()

I am having issues with a custom url. I have a page with a gallery type plugin/shortcode. Now each gallery item displayed on the page, has a readmore link, linking to that gallery item post. Now I ...
6
votes
6answers
12k views

Redirect user to original url after login?

I have a function that redirects users to the login page (home) if they're trying to access any other page without being logged in, here's how it works: function restrict_access_if_logged_out(){ ...
0
votes
1answer
16 views

Wordpress address URL and bloginfo

I have updated my Wordpress Address (URL) and Site Address (URL) to be https:// in the General Settings of Wordpress as I have added a secruity certificate to the hosting. Should the css url ...
1
vote
0answers
29 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
48 views

How to execute function/method when specific URL is called?

I have url "www.something.com/wp-content/plugins/tool_new/admin/new_tool_email.php?method=new_tool_send" I want to sent up real cron job, and when this url is called to execute method ...
1
vote
2answers
658 views

How does Wordpress redirect to WooCommerce shop page? [closed]

I'm creating a plugin for WooCommerce, it needs a parameter in the url of shop page like this http://domain/wp/shop/?param=value. It worked fine until I set the shop page as front page, when I access ...
0
votes
0answers
32 views

Sub category text in the URL of wordpress site

I am launching a site about mobile and it is in wordpress. URL structure is as follow example.com/unlock/company/model example.com/how-to/company/model Unlock and how to are parent category and ...
1
vote
1answer
307 views

Set a custom URL for image in the Media Library?

I'm having some real frustration with the Media Library, as a WP beginner. What I'm expecting is that I can upload an image, and then reuse that image where I want within the site, using a standard ...
0
votes
1answer
38 views

Add custom field to post with some part of url as value

I wish to move my site from some other CMS to WP. There is no any usefull migration, export option in my current CMS so I will need to create posts again manually. I will to transfer important fields ...
0
votes
1answer
21 views

Update image links in database

I recently changed the URL of a wordpress site and I can't seem to find some of the image links I was able to update most of the links in the wp_posts tables update wp_posts set guid = REPLACE(guid, ...
2
votes
1answer
35 views

Localized WordPress content for different sub-locales of same language?

I have a site which serves Ireland & England. I want to move it to Wordpress. Currently all the content is the same when you visit the site & it runs off two urls, the Irish one: mysite.ie ...
-1
votes
2answers
34 views

Should I set the html base url when using wordpress?

In header.php I can do the following: <base href="<?php echo get_bloginfo('template_url');?>/"/> That way I can keep my layout images path relative. <img src="imgs/img.png"/> ...
0
votes
2answers
30 views

How to create short urls for sharing and downloadable content?

I want to create something similar to "youtube.com/long => youtu.be/short" for my wordpress blog/portfolio/freebie site: "magicshrooms.com/%cat-etc => mgcsr.mz/link-name ". Generally, I want to create ...
0
votes
0answers
14 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
0answers
21 views

Text widget form and URL variables

I have an HTML form that I dropped into my Wordpress text widget that connects to a third party service so I need the form variables to be exactly right for it to work. The form is using GET rather ...
2
votes
3answers
3k views

Creating 301 Redirects for Post, Page, Category and Image URLs?

I fear this may be too much to ask here, so if so, please feel free to tell me of another place to learn. Help with Redirections I'm cleaning up a badly developed site and migrating wordpress from a ...
0
votes
1answer
19 views

remove custom post type ulr

I have a custom post type called portfolio with three categories. If i make post with it, the url looks like this. http://skateflix.se/?portfolio=route-one. Every fix i tried, every plugin gives me ...
0
votes
1answer
39 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 ...
1
vote
1answer
110 views

Is there a way to create a URL (new WP page) that can only be accessed from a specific source?

To explain further, here's what I"m looking to do: Create a WP page Use the URL and implement it in a reader service that is hosted (not downloadable) that in order to read (& access the URL) ...
3
votes
1answer
271 views

Query two taxonomies via URL or link?

I've been banging my head about this, and have created a work-around, but it would be much nicer for my site's organisation if I could figure this out. I want to be able to query posts across two ...
0
votes
1answer
68 views

Add_query_arg + two times the same argument?

I'am trying to filter my archive page by clicking links. When clicked they execute the add_query_arg command. Everything works fine so far. But now i want to add combinations within the same ...
1
vote
1answer
81 views

Start post pagination at 0 instead of 1

Is it possible to start post pagination count at zero instead of 1? I want the URLs to be like this: ../page (Foreword) ../page/1 (Chapter 1) ../page/2 (Chapter 2) But by default the ...
0
votes
2answers
2k views

Moved WP into new folder. How to fix image links in posts?

I moved from Wordpress.com to my own Wordpress.org hosting. I had no problems importing all my posts over, and the images were all linked up fine. Since the import, I decided to move my WP install ...
0
votes
0answers
17 views

how to remove the word “blog” from custom post type urls [duplicate]

my portfolio is at for example – http://example.com/blog/portfolio/regali-preciozo/ but instead of it I want the URL like http://example.com/portfolio/regali-preciozo/. I want to remove the blog word ...
0
votes
0answers
43 views

Redirecting sub-domain to main domain has incorrect URL on subsequent pages

I just redirected my sub-domain, www.simco-apts.com/testsite to takeover my main domain, www.simco-apts.com. While this works for the homepage, all other links/pages contained within the site add ...
0
votes
0answers
14 views

Strange URL alternative behavior. site.com/a redirects to a page like site.com/an-article

Today, I saw that the link site.com/b doesn't show a 404 page. It goes to site.com/blog/1393/03/05/built-in-power-supply/ (Maybe because of built-in-power-supply at the end) site.com/c goes to ...
0
votes
0answers
19 views

Index.php duplicating home URL and itself showing in GTmetrix

Using Gtmetrix to measure my site performance I notice index.php is duplicating my home URL also it is duplicating or called twice in the waterfall. I have no clue why or how this is happening any ...
0
votes
0answers
10 views

Incoming URL variables to custom metabox

Is it possible to take values from an incoming URL variable and write it to a custom meta box? My client has something like the following for a URL (marketing purposes): ...
0
votes
2answers
26 views

Is It Possible To A Link To The Homepage From The Admin Sidebar?

The closest I've managed to get is: function redirect_to_local_110(){ wp_redirect("/", 302); exit; } function add_home_link() { add_menu_page( 'Course', 'Course', 'read', 'home', ...
0
votes
1answer
58 views

Weird characters behind every single link and images

My site http://ilovetaobao.my If you view page source, almost every single images and links have this in the end of the URL. ?84d5a9 For example like ...
0
votes
2answers
74 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 ...
0
votes
1answer
33 views

wp-login.php ampersand in url results in 404

I've got this problem where the wordpress site will throw up a 404 if the wp-login.php has an ampersand appended after it (e.g. session expired argument). I've changed themes, disabled all plugins, ...
1
vote
1answer
77 views

Adding special characters to slug?

Is it possible to prevent WP from stripping out certain characters when customizing a URL? For example, affiliate ids usually have something like ?id=something. Customizing a content's slug with ...
0
votes
0answers
21 views

moved site to development box, WP works fine except that only root of site is served

I have a small, ultra-low traffic WP site. Let us call it www.mysite.com. This same URL is listed both as the "Site Address" and the "Wordpress Address" under the wp-admin Settings panel of the live ...
0
votes
0answers
72 views

Change wp-login.php url and lost password to custom name

I'm using SiteMile's auction theme and I'm trying to change the "wp-login.php" to "login." I tried using the plugin, Rename WP-Login and that worked, however the "lost password" link doesn't work. I ...
4
votes
1answer
100 views

Run WordPress frontend and backend in different domains

I want to run my WP frontend as www.example.com and my backend (i.e. wp-admin) as user1.example.org, is it possible? The reason is I want to host lot of sites in a single server which has only 1 IP ...
-1
votes
1answer
21 views

Why plugin's icon for the menu not found?

Why plugin's icon is not showing in plugin menu ? All code of plugin : add_action( 'admin_menu', 'register_my_custom_menu_page' ); function register_my_custom_menu_page(){ add_menu_page( 'Site ...
3
votes
2answers
964 views

Disable Wordpress URL auto complete

I recently noticed that Wordpress tries to auto-complete a URL when it's not submitted in its entirety. E.g. I have a post URL that looks like this: http://www.mysite.com/some-post-title If I ...
0
votes
1answer
74 views

How to get URL param to shortcode?

I can't find solution for this ... URL: www.foo.com/some_page/?name=John Page content: Hi [Name]! Worpress still redirects back to www.foo.com/some_page/ I tried everything ... I need ...
0
votes
0answers
17 views

How to pass REQUEST_URI to function

I'm trying to build a custom URL with error messages at user registrations, e.g.: ?invalid_username=1 or ?email_exists=1. I am able to build the front part of the URL manually/statically, with the ...
0
votes
2answers
121 views

Multisite subdirectory blogs missing slash

New WordPress 3.5.2 multisite (subdirectory) install is missing a slash when creating new blogs. WordPress is installed to server like: blogs.domain.com When a new user registers, the ...
-1
votes
1answer
77 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
31 views

Stop wordpress automatically abbreviating the domain url

I'm trying to include webtrend js script in the footer template <script type="text/javascript" src="<?php bloginfo('template_directory'); ...
0
votes
1answer
64 views

Query var removed after rewrite

I have a WordPress blog that uses custom post types, which I'm creating using the WCK plugin. One of which is the post type shows. A permalink to a specific show, then, appears as: ...
0
votes
0answers
72 views

How do I add a forward slash to end of URL for Fetch as Google?

When trying to use the Fetch as Google tool I keep getting a redirect error. This error is because my URL address is http://www.example.com instead of http://www.example.com/ How do I add the ...
0
votes
1answer
21 views

Populate Website URL at registration time

I am trying to automatically populate/set the "Website" under Contact Information in user profiles at registration time. I want the URL to go to their Author Archives page (i.e., ...
2
votes
1answer
61 views

CPT posts listed by category with custom rewrite URL, please help!

Here is what I'm trying to do: I have 10 total dessert recipes (in shared dessert category) that are divided by 2 custom post types. I want to create 3 different views of these posts with the custom ...