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
0answers
27 views

Is it possible to change %post_id% in permalink by a constant?

I had an assignment of moving Joomla 1.0 content, categories and other stuff to the latest WordPress. Everything went fine, a few PHP scripts, a bit of fiddling with MySQL. But then, unexpected ...
3
votes
1answer
752 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 ...
1
vote
2answers
88 views

Disable ONLY URL auto complete, not the whole canonical URL system

I have a blog with several pages in some category "projects" that are structured/named like this: /projects/project-2012 /projects/project-2013 /projects/project-2014 /projects/project-2015 When a ...
5
votes
3answers
6k views

How to add a Custom Link to a Menu with an URL that is relative to the blog URL

Part of my work is to create Wordpress websites. I usually work on my laptop until I have something good enough to be uploaded to the test server where the client reviews it. I create a VirtualHost ...
0
votes
1answer
21 views

Unicode characters are saved in a funny way in the DB

I have a custom website in which I am using wp_insert_post() to manually create posts that have a title which has characters thare are non-English Unicode letters (Arabic to be more specific). The ...
0
votes
2answers
47 views

add_rewrite_rule not registering on Multisite

I have a multisite install of WordPress. I have installed the plugin Monkeyman Rewrite Analyzer so I can see all the rules I have registered. The code below is how I am registering the rule: ...
0
votes
0answers
53 views

How to increase image by URL upload limitation

System info - wordpress multisite installation - Version 3.9.1 with following system info - RAM 69,8/128M • SQL 142 • PHPv 5.3.28 Hi Support Team, I am using a multisite installation with a ...
0
votes
1answer
22 views

How to customize custom taxonomy url?

I have a Custom Post type "Data" with a custom Taxonomy "data-category". Currently my site url when I visit a 'data-category' shows like this : www.mysite.com/data-category/home-loan Here Home-Loan ...
0
votes
0answers
10 views

URL including area for multi-location business

For a multi-location business, how would one (aside from replicating content) include the geographical name in the domain? This is what I would like to achieve: www.domain.com/location/page1 What ...
0
votes
1answer
39 views

Change url of posts with keywords

I have a website which is using general URL of word press like https://mywebsite.org/item/itempostname Every category post have a location. So i want to modify general URL to custom URL like ...
0
votes
3answers
190 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
0answers
23 views

Unable to manipulate rewrite rules without calling flush_rewrite_rules() each time

I am trying to make a small portfolio website in multiple languages. Just a few pages (the actual blog doesn't need to be in multiple languages), mainly pages that are generated by a own-made plugin. ...
0
votes
1answer
40 views

Is it possible to rewrite a page url Without setting the permalinks to Post Name?

Is it possible to rewrite the page url if your page link is for example localhost/wordpress/?p=123 ? Instead of post_name.php?.... (So the first option of permalinks and not post_name.
0
votes
1answer
61 views

get_post_custom: get image URL instead of image ID

I know the value of a image custom field will give me the attachemnt ID. In a loop over all custom fields, how can I found out if the field is an image? And then get the image URL of the attachemnt? ...
0
votes
2answers
44 views

Why is there a # and other characters in URL for WordPress site?

I have a WordPress site and have re-written the URL for SEO friendly URLs. But I keep getting this at the end of all pages /#.UmNDU_mnqy4. e.g.: www.example.com/contact-us/#.UmNDU_mnqy4 Can this URL ...
0
votes
1answer
20 views

Why am I seeing 'yes' and 'no' in URLs crawled by Xenu?

This may not be a WordPress thing at all, but I've never seen it before and it's happening to a WordPress site we're completing. I use Xenu for checking sites for broken links, images etc. When I run ...
0
votes
1answer
17 views

Site transferred to new server produces 404s

I have transferred my site to a new server. I can login to wp-admin ok and can view the home page but all other pages produce 404s. I have changed the 'Home' and 'Site URL' options in the settings ...
0
votes
2answers
33 views

Add # to submenu URLs automatically

I'm trying to replace all my child page URLs to include a # automatically example: http://www.website.com/parentfoo/#childfoo I tried using wp_setup_nav_menu_item to run through all the child menu ...
0
votes
1answer
160 views

How does routing on wordpress work?

How does the core wp routing works? I am having a hard time understanding... In MVC, your url looks like mycontroller/myaction that maps to MyController->myaction() In drupal, it's ...
1
vote
0answers
38 views

How can save user linkedin link to my database [closed]

I need to get Profile link of user when click in LinkedIn icon in my site. So, When user click in this button, i need only get the profile link of him and save it in my site. Are there way to get ...
0
votes
1answer
37 views

Setting name of attachment URL

I have a problem I need to fix with the URLs that are generated for the attachment pages of images with metadata. I’m working on a photography site where individual photos are displayed as ...
1
vote
0answers
69 views

Relative v.s. absolute URLs: which ones should I use for cross-domain portability?

My question is related to but different from this one I need to make sure that my URLs work across domains like staging.domain.com, localhost:8000 and www.domain.com. I have local, staging and ...
2
votes
1answer
40 views

How is WordPress manipulating the posts like there are folders?

As you know, a WordPress post can usually be seen going to a link similar to this: myblog.com/2014/03/27/sample-post/ There is no folder named 2014, 03, 27 or sample-post in the blog. Until now, I ...
0
votes
3answers
75 views

Changed Wordress Address URL Accidently

Accidently, I have changed my wordpress address url from my dashboard. Now I am not able to sign in to get it changed. This is where I have installed wordpress - http://www.abc.com/folder, but ...
1
vote
1answer
135 views

Possible to create a permalink to sort with meta_key?

I feel like I've been all around the web and back again looking for an answer to this and it's really starting to grind my gears. Not sure if this is the correct way to do it, but I want to add a ...
1
vote
0answers
43 views

Pre-populate Slug / Permalink with URL

I would like to not only pre-populate the title, tags, and categories, but would also like to pre-populate the slug / permalink as well. Can I do this and if so how? Here's my functions.php code: ...
0
votes
1answer
21 views

Create custom URL with different levels

I am new to Wordpress and used to Drupal. In drupal I could put any url for any post. It is not bound to category or tags. for example, pages in any category can have any structure of different ...
3
votes
1answer
767 views

Creating custom permalink structure for languages

I've written a simple multi-language system, whereby clicking on a flag icon sets a one year cookie containing a two letter language code (e.g. nl, de, etc). I hook into the wp action to read the ...
6
votes
3answers
10k 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. ...
0
votes
1answer
86 views

Removing all my hardcoded URLs with get_site_url()

In my php files, I would like to remove all my hardcoded URLs (ex: http://mysite.com/) and replace them with the get_site_url() function. My problem is with the php code of one of my functions (in ...
0
votes
1answer
32 views

Removing parent page in URL for one page

I have a page e.g.: mysite.com/parent/child1/child2/page And I want the URL to be: mysite.com/page But only for this one page ... not the entire site. Is there a way to do this without using some ...
0
votes
1answer
34 views

Adding pretty query parameters

A custom post type named shooting has a field (with ACF) with plenty of images. Those are listed on the single.php of the CPT and one of those images is displayed in full-ish size. I currently have ...
1
vote
1answer
690 views

Why id in urls doesn't work and slug yes?

I'm lost, I don't understand why this works http://website.com/?tag=my-cat-slug and not this http://website.com/?tag=15 It's really annoying because wp_dropdown_categories() only provides ids as ...
0
votes
0answers
27 views

Move Category into Subcategory, Keep URL structure

The site I'm working on now was a small blog which then expanded into something quite a bit larger than what they first thought. Example below -Pizza -Chinese -Italian What I need is either all ...
1
vote
0answers
58 views

Search Query: how to construct a search string from two select elements?

Im trying to create a wordpress search widget. The final search string Im trying to submit is made up of two keywords, one each from a select element. I'd like the final search query to be ...
0
votes
0answers
39 views

Sharing two subdomains with a single WordPress without MultiSite

I want to have a single Wordpress installation for use of two domains e.g. http://blog.example.com for blog http://www.example.com for company pages I don't want to use multi-site setup, because ...
0
votes
1answer
36 views

What is the best way to revert to www version of domain name?

My site uses a bare domain, example.com. I want to use Google's Page Speed Service, which requires a www subdomain, like this www.example.com Google says the server must use a 301 redirect. What ...
0
votes
1answer
94 views

How to access the WordPress DB from a plugin file

I'm building a basic video management plugin, with an embed feature that will have URLs like: mysite.com/wp-content/plugins/embed-video.php?video=[POST ID] I plan on using the [POST ID] url parameter ...
0
votes
1answer
56 views

After site transfer I'm still getting redirected to the old site (WordPress)

I have transfered my WordPress theme on another domain doing these steps: I have used a backup plugin and backed up database Transfered wp-content folder to the new site Uploaded the database to a ...
1
vote
3answers
35 views

Confusion about Site url and directory

I have installed my wordpress in root/mysubfolder so my standard path is example1.com/mysubfolder (example1.com is the domain i have registered the webspace with) Now i want the wordpress ...
0
votes
0answers
46 views

Is it possible to rename an url from custom post type?

On my test site: http://outletdokkum.nl/kollum/dagaanbiedingen/y-bike-2/ You see a week offers (weekaanbiedingen in dutch). But as you can see the url says Day offers (Dagaanbiedingen in dutch). ...
0
votes
0answers
19 views

How to make text appear at bottom of post but not in featured

I'm trying to make some text (which includes a link) not appear in the slide at the top of my site, here's the site http://www.roboticmountain.com and you can see the "Image source.." etc is appear ...
0
votes
1answer
30 views

Search and replace image urls in posts

I'm struggling with my recently imported posterous data. All the image urls in the imported posts looks like this: ...
0
votes
0answers
31 views

wordpress multisite create different author template for mainsite and subsites

I am using authors.php to display authors pages. From my landing page of my WPMU installation I am trying to redirect the author page requests to different template. That is the requests to the ...
0
votes
0answers
11 views

How would one go about adding a category name to the url of multisite subsite?

How would one go about adding a "category" name to the url of multisite subsite? eg. http://mainsite.com/categoryname/subsite Simply editing site info settings doesnt help. I am trying to make a ...
5
votes
4answers
2k views

Problem with guids and absolute links

Post and page guids include the full absolute URL of my site (e.g. http://www.example.com/wordpress/?p=1). This causes a problem if the domain, or wordpress path changes, or if I'm viewing the site ...
0
votes
1answer
26 views

Add unique id to Preview URL

Is there an easy way to append a unique ID to the preview URL when the preview button is clicked by a user? So this: http://example.com/news/1/title/?preview=true Becomes: ...
0
votes
0answers
42 views

How can run the multiple website sites or domains into single wordpress intallation

I want to run multiple sites into wordpress 3.8.1, when the user access my website the url and language of my website is auto change to its country by it's ip address of user and website will also be ...
0
votes
2answers
54 views

Is there a way to have wordpress 301 versus 302 urls by default?

Sorry if this is a duplicate but I didn't find my answer in "Questions that already have your answer". Currently on my site if I visit an old URL link or if I outright make up a URL like ...
0
votes
1answer
28 views

How to stop Wordpress creating URLs that dont exisit

I have a website that is constantly created URLS that don't exist. For example a category section that only has 2 pages in it, for some reason is allowing the creation of other URLS - see below eg: ...