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
2answers
35 views

Moving a WordPress site - Installation issue

I have moved Wordpress sites before and have occasionally encountered issues but always been able to resolve them. I have tried to do this several times with this site but I am still having the same ...
0
votes
1answer
63 views

How to remove the number of a comment in the url slug?

Searched through google but can't find anything related to it. Either I don't know what terms to use when searching or there's nothing about it. I want to remove #comment-* we all know that it ...
0
votes
1answer
169 views

Prevent Wordpress from automatically correcting URLs

I notice that if I type in http://www.example.com/pag I can land on an existing page that has a name like http://www.example.com/page_five. I don't know exactly what causes this, but I want to know if ...
0
votes
2answers
56 views

Post's ID pattern?

Each post has an ID and I would like to know how they were assigned. Is there a pattern? Why are the ID's not being incremented by 1 every posts? It would be easier..My ID's go from 9867, to 9869, to ...
0
votes
1answer
694 views

Website Address Keep redirect to website after migration attempt

I have a loclhost site that I heard I can migrate the site by just copy and paste the whole site from local to host if I changed WordPress Address (URL) and Site Address (URL) to my current hosted ...
0
votes
1answer
58 views

Organizing the Navigation Menu

I have a problem with menu organization. I have a Pages with url "pressroom" and have a Category with the same name. I want to make it a one menu item. Pressroom (sitename.com/pressroom/) page 1 ...
0
votes
2answers
90 views

Is Wordpress API visible from PHP file called in htaccess

I'm trying to add some rewriterules in the .htaccess file to deal with hotlinked images - specifically I want to add the URL from the post where the image appeared to the header location information ...
0
votes
1answer
106 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
1answer
626 views

How can I do a url redirect to include a wordpress username?

I currently have a button like this, that takes a user to their 'mentions' page <a href="http://my.url.org/mentions/<?php global $userdata; get_currentuserinfo(); echo( $userdata->user_login ...
0
votes
2answers
477 views

What can I replace '.get_bloginfo('url').' with to return the current URL rather than the home address?

I am using the Any Mobile Theme Switcher plugin to switch between full and mobile themes automatically. The only problem with it is that the 'switch to mobile site' and 'switch to full site' links ...
0
votes
1answer
63 views

Nicer URL for viewing category of posts?

At the moment to view a category of posts I have a url like http://server/category/tag Is there a way in wordpress I can do this as: http://server/tag
0
votes
1answer
2k views

How to call images from your plugins image folder?

I've done a lot of research and learned a lot about WP constants and function usage for getting image paths etc. but still my original problem persists. <img src="<?PHP echo WP_PLUGIN_DIR . ...
0
votes
2answers
707 views

custom wordpress rewrite

I am trying custom rewrite for following url... http://www.domain.com/lp/1 and it would be parsed using lp.php?p=1 I have tried following... add_action( 'init', 'aagt_rewrite_add_rewrites' ); ...
0
votes
1answer
4k views

How do I get the author's page url from their ID?

What is the best way to get the author's page url, so http://example.com/author/user73, from their ID number?
0
votes
1answer
833 views

Problem with parent page slug only in WordPress admin

I am using the permalink structure: /%category%/%postname%/ in order to show my blog posts under their category in my url. I have also installed WordPress SEO by yoast (if that helps) but I noticed ...
0
votes
1answer
81 views

How to get CGI variables?

I need to do two things: Add a CGI variable (say filter=21) to the current query and make a link to this modified URL. Fetch the value of CGI variable "filter". How to do that in WordPress?
0
votes
1answer
1k views

WordPress and $_GET Params

This is an odd problem that I have never run into before with WordPress. I have a site, permalinks enabled. The url can be http://mysite.com/page-name/?anyParamName=testing then when I use ...
0
votes
2answers
146 views

Clicks registering on Preview DNS site

I set up my site on a PreviewDNS, I have since pointed my Domain to the correct place and changed all the links to non-previewDNS links. However I can see (using Jetpack) that visitors to my site are ...
0
votes
1answer
520 views

Flushing rewrite rules

I'm using this function to add a custom end point to the WordPress urls add_rewrite_endpoint('print', EP_ALL); When the plug-in gets deactivated, I run this function flush_rewrite_rules(); This ...
0
votes
2answers
59 views

How can I identify which file/function will be used to respond to a particular URL?

I'm a Drupalista who occasionally works in WordPress so this might be obvious :) I was helping a colleague debug some AJAX behaviour, and having got the URL of the callback from Firebug, I wasn't sure ...
0
votes
1answer
493 views

How do I make Wordpress “Page” link in the top nav bar go to an external URL?

I would like the Wordpress page link as shown here go to an external URL instead of going to page. What is the best way to set this up? I'm running Wordpress 3.1.3. Thank you.
0
votes
1answer
543 views

How to display content from external db with relevant urls

I am working on a website that needs to display information about electronic resources which is stored in an external database. This information will be presented three different ways (alphabetical ...
0
votes
1answer
319 views

How does: /index.php?post_type=event&event-date=2011-07-25 work? What if it doesn't work?

I have an events cpt with a slug "event" I am using it in several places but I am trying to create a "day" view that shows all the events for a given day. I also have the archive arg set in the CPT ...
0
votes
1answer
52 views

Can I use %category% like Templates in my Plugin?

I have seen that Wordpress uses %category% like strings to create url templates. Is there an easy way to allow such mechanism in a plugin? For example in the plugin's settings page user specifies an ...
0
votes
1answer
2k views

How to get category/tag in URL for Pagination links?

I have a custom pagination function in functions.php. If I'm at the URL: http://mysite.com/tag/dogs, the Next link currently just contains /page/2. How can I make it so it will look like ...
0
votes
1answer
2k views

can I chage url for register_post_type

I registered custom post type by register_post_type('new_post',$args); So new post url looks like `http://myweb.com/new_post/post_name Can I change _later_ the part of url from new_post to something ...
0
votes
2answers
172 views

What is the best way to figure out which template file that a “pretty permalink” is using?

I'm new at wordpress, so maybe this question is very basic, but I looked at Google and I searched for tutorials and I didn't find anything... The question is simple. I have a "page", and this page is ...
0
votes
2answers
1k views

Make insterted image point to post url instead of attachment page

I am inserting an image in a post and I want it to point to the post detail page, not the attachment. What should I do? Thanks in advance.
0
votes
1answer
18 views

How to add multiple custom URL variables?

I am building a Wordpress plugin that looks for different custom variables in the URL. The way I am able to achieve that right now is with this code: function add_custom_query_var( $vars){ ...
0
votes
1answer
42 views

Change homepage url

is there any way how to achieve this? I've tried to google it, but I have no clue how to call it. siteurl.com - for whole web siteurl.com/news - homepage with news When I add siteurl.com I have to ...
0
votes
1answer
31 views

Is it possible to change image urls by hooks?

I have moved my uploads directory to another server. For example, a url that was pointing to: http://example.com/wp-content/uploads/2015/05/image.jpg should point to here in the new situation: ...
0
votes
1answer
40 views

Scrape a webpage for image and add it to post

I was wondering if there was a way to scrape an external webpage for its first/best image and add it to a new post in Wordpress. This seems like it would not be too complicated, but I can't seem to ...
0
votes
1answer
31 views

How to reference a theme image in a stylesheet?

I have a global element as part of my theme and I need to reference and image as a background image. I need the URL to the image. I assume that it's bad practice to hard-code the URL and that the URL ...
0
votes
1answer
15 views

Pages other than Home page not displayed even when URL is good

I installed WordPress on a dedicated server running Debian and each time a create a new page (www.mydomain.com/mynewpage) I can't access it, and when I try I get the error: Not Found The requested ...
0
votes
1answer
35 views

Wrapping add_query_arg with esc_url not working

I know about the XSS issue related to add_query_arg()function. That is why I am wrapping it with esc_url(). Problem is...this is not working with wp_remote_get(). If I go: $url = add_query_arg( ...
0
votes
1answer
27 views

My wordpress site is using local ip to point to jquery and other files, how to fix it?

I installed WP on my Raspberry Pi using this guide : https://www.raspberrypi.org/documentation/usage/wordpress/ I did not do the last part about permalinks yet. Problem is, when I navigate to my ...
0
votes
1answer
22 views

How to create cutom link for page

I am newbie in WordPress, and my question may be duplicated, but I cant get this, help please. I have page with this URL: example.com/?page_id=49, but I want to make it as example.com/test_page. ...
0
votes
2answers
30 views

How to customize sub-URLs in a wordpress website (.htaccess)

I have a regular business website that I built on Wordpress - www.example.com I have a blog page in my website under - www.example.com/blog When viewing a blog post it looks like this: ...
0
votes
1answer
26 views

Alternatives to site_url() and get_template_directory_uri()

The problem I'm having is that my Wordpress is set up on localhost, but when I view the site from another computer, "<?php echo get_template_directory_uri();?>/image.png" will return ...
0
votes
1answer
15 views

How can I change the url of the blog post?

I have a url of the blog: http://inspurate.com/blog And the url of the blog post: http://inspurate.com/wordpress-blocked-pakistan/ But I want the url of the blog post to appear as: ...
0
votes
1answer
67 views

Use a template file for a specific url without creating a page

I wonder if its possible to use a template file for a specific url without having to create a page for that template. This is my simplified problem: I have created a page in WP with some link ...
0
votes
1answer
29 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
136 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
38 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
73 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
1answer
39 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
1answer
41 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
138 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
1answer
96 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
52 views

How to make WordPress urls matching static html urls

I have a website currently running in WordPress, before that site was static html, I converted that in WordPress. Now problem is I don't want to loose links, Google ranking, etc. I want the same ...