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

How can I insert a dynamic URL in my email template?

I'm not sure if that's even possible, but I thought I should give it a try. I'm using WP Better Emails plugin in order to create HTML emails for my buddypress website. I want to add to the footer an ...
0
votes
0answers
16 views

Pagination Being Removed From URL with a Custom Loop

I'm having a little trouble with enabling pagination for one of my custom post types. Basically, I have a CPT of 'surgeons' which lists (surprisingly!) a surgeon - on their single page, I'm wanting ...
-1
votes
1answer
28 views

Remove base from the custom post type URL [duplicate]

I wanted to add blog before the post slug in the URL. The URL for the post type page was: http://example.com/blog/post-one So basically to add blog before the posts url in Settings >> permalink ...
0
votes
1answer
20 views

Why is a custom post type's URL “/?cposts=name-of-the-post” but default post's URL is “/?p=ID”?

The normal posts, whose post_type is "post" in the database, are accessed through the URL structure of www.blog.com/?p=ID where ID is the actual ID (the number) of the post found in the database. ...
0
votes
0answers
77 views

Redirect using document.location.href go to undefined > 404 on Wordpress

Here goes my issue: I'm executing the sql and listing the states fine in the page >> mywebsite.loc/fairs/ and I want to select the combo and redirect to >> mywebsite.loc/fairs/?state=CA But wordpress ...
0
votes
0answers
24 views

How to auto-generate numeric permalinks? [duplicate]

Is there any way to automatically generate numeric permalinks? I have a custom post type named "image" and I want to obfuscate the number of posts, so I'd like to generate random numeric URLs like so: ...
0
votes
1answer
15 views

Call a duplicate registration form with other url

I see there are url's like register=1 or action=register. I have made a php file with my own form in it and I would like to open it with my own link like registration=2 or something similar to it how ...
3
votes
2answers
1k views

Custom plugin route in Wordpress

Okay so my question is quite simple. I need to implement some custom routing rules for my plugin. Those routes would only take one argument (so nothing complicated) and would look like : ...
1
vote
1answer
60 views

Remove number in URL

I'm trying to use WordPress to make a web page. I made a "Contact" page, but for some reason it didn't show up. WordPress kept saying it couldn't find it. So I deleted it and made a new one called the ...
0
votes
0answers
23 views

How to remove author/user name from url

this is my first question here and i'm new to wordpress. facing a problem like my site user name is showing into the url and get indexed by Google although i have replaced that user name with a new ...
0
votes
0answers
268 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 ...
0
votes
0answers
16 views

Child theme urls: How to point to a correct folder

I have created a child theme. My problem is that the get_template_uri() is pointing to parent theme's template directory. How do I refer to the correct (child template) url?
0
votes
1answer
34 views

different CNAME to corresponding subfolders

I have three wordpress websites hosted on Apache server in three different subfolders, like www.mydomain.com/sub1;www.mydomain.com/sub2;www.mydomain.com/sub3 Now, I have three new domain names ...
1
vote
0answers
22 views

How to auto gen. custom post type values in other custom post type in url?

I have created two custom post types (CPT) say books and reviews. Now how can i auto generated a reviews page for a specific book title??. What i have done so far i made a review page ...
4
votes
4answers
12k views

Why is ?doing_wp_cron being appended to my URLs

I'm finding this string appended to the end of my URLs sometimes: /?doing_wp_cron Does anyone know what it for? How can I remove it?
3
votes
1answer
70 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
41 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
19 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
457 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
24 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
45 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
67 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
840 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
38 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
344 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
53 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
27 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
44 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
42 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
37 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
16 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
26 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
46 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
112 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
84 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
89 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
46 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
17 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
12 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
65 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
76 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
41 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, ...