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

Custom post type clean url

I'm trying to create clean url's for my custom post type, but I can't seem to figure out how to make this work. First I followed the Wordpress codex using publicly_queryable and query_var in my ...
0
votes
1answer
13 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
0answers
19 views

Anchor Links URL

i have the theme "Moesia" and anchor links in the navigation. I can't see the anchor like #home or #about me in the adress bar of the browser. There is only the clean url (www.adress.com) without the ...
0
votes
0answers
17 views

404 suggests posts instead of showing custom 404 when the url is not home

I have a custom 404 witch works well when you write the url like www.site.com/randomCrapAbC but when there is post-type or category in the slug, wordpress tries to suggest post in that category ...
0
votes
0answers
11 views

Building URLs with Custom Post Type

Here is my current dilemna. I have created two custom post types, Verticals and Products. The Products information is fed into the Verticals and there is an interior nav with anchor links that ...
0
votes
0answers
3 views

how to add prefix to post url structor only

I need to add "item/" prefix to post url only I went to Settings -> Permalinks and set this : /item/%postname%/ and for category and tag set this: category tag But other post_type and ...
0
votes
1answer
12 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
39 views

Scrape external webpage for first image and add it to new post

I'm looking for a way to scrape an external page for its first/best/largest image and insert a copy of that image as the featured image of a new post on my Wordpress site. The way that I was hoping ...
0
votes
0answers
24 views

How to scrape data from a URL and put it into a post

I'm looking for a way to allow users of my site to enter a URL into a form field and have it scrape that URL for a <title>, <description>, and the first image on the page, of which it will ...
0
votes
1answer
44 views

Callback URL in WordPress

I want to use this service OnWebChange to monitor when a website changes and change mine accordingly. It would notify me via a URL callback to my website URL with a HTTP POST method. What ...
0
votes
2answers
390 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
0answers
15 views

How to rewrite custom post type url archives instead of this url? [closed]

all I have some issues. I want to change url like changed url but show 404 page! http://50.118.92.84/news-room/post_publications/2015 for custom post type but my custom post type is ...
0
votes
1answer
2k 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 ...
0
votes
1answer
18 views

Imported posts using wrong domain name

So a little background. I have my WordPress development site backed up on a remote git repository. I added a ignore file to ignore specific files so that if the repository is cloned the site has to be ...
9
votes
8answers
17k 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. ...
6
votes
6answers
16k 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
0answers
46 views

Custom post type with parent page? Possible?

I'm having trouble getting my url structure the way I want. I have a page with two sections: private company Let's take private as an example. In this area, I wan't to have a url structure like ...
0
votes
0answers
16 views

Make custom post url accept anything after the event slug - for use as url parameters

I want to parse url parameters to my custom page code within a custom post type by simply appending folder values to the end of the valid custom post type. So instead of: www.test.com/tests/post1/ ...
0
votes
1answer
24 views

Direct Dynamic URL in root to a location within template

I needed to have dynamic URLs created once a user (say Organization) submitted a registration form where the URL would be domain.com/organizations/organization-name/dashboard/ The "organization-name" ...
0
votes
0answers
19 views

Get full control over custom post type url

The situation I have a custom post type, lets call it 'CP', which has two parent categories named 'companies' and 'category'. Posts of type CP can only have one company and multiple categories. So, ...
0
votes
1answer
500 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
16 views

Redirecting to old domain after migration

I have moved one of my website to a new domain, below is what i did. Backed up database Uploaded all the files to the new server. Imported sql into new server via phpmyadmin Now i have used this ...
0
votes
1answer
14 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
20 views

New page has incorrect URL

I just installed WordPress on my new dedicated server (running Debian) and each time a create a new page in the WP admin board, it has the URL www.mydomain.com/index.php/mynewpage I would like it ...
0
votes
2answers
2k views

mod-rewrite exception? keep #hash in matching urls?

Hey guys, My WordPress permalink structure is set to `/%postname%/. When I create a page with a name "FAQs" the permalink generated is "mydomain.com/faqs". When I link to this page in my code ...
0
votes
2answers
26 views

Broken urls with http site and https wp-admin

I am currently using a wordpress installation in which all the website is intended to be shown in http while the https part is protected by a self signed certificate, distributed manually to the ...
5
votes
2answers
53 views

How to deal with Wordpress on localhost

I'm running a WP site on my laptop using localhost, and I often need my coworkers to see it. If they enter my home's IP, they were able to access the site, but all the URL's in WP that used site_url() ...
0
votes
1answer
15 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( ...
1
vote
1answer
76 views

Stop Wordpress appending `-2` to the end of my url after i change it

When i try to set the url of a page in wordpress (4.2) it keeps apending -2 to the end of the url, i guess its becuase this ulr already exists, but i checked and it dosnt, although at one time it did ...
3
votes
1answer
83 views

Rewrite rule page url with category

I have enabled the category box for pages with this: // Add to the admin_init hook of your theme functions.php file add_action( 'admin_init', 'page_categories' ); function page_categories() { // ...
0
votes
0answers
38 views

Remove Custom Post Type slug from url, two CPT

I have 2 custom post types hilp-a and hilp-b. I want to remove custom post type slug from the url. e.g: test.com/hilp-a/test to be test.com/test and test.com/hilp-b/btest to be test.com/btest I ...
0
votes
1answer
20 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
0answers
17 views

Image Upload from URL doesn't work

I'm using the latest version of WordPress and a custom theme. I can upload images from my computer but not via URL. Using URL, the image DOES upload in /wp-content/uploads/ directory, but the post is ...
0
votes
0answers
13 views

Fetch external call on specific URL

Is there a built in function which - if not how do I accomplish - can map all incoming calls on a specific URL e.g. http://www.example.com/incoming/RANDOMSTRING to a function in WordPress? SOLVED: ...
0
votes
1answer
13 views

Duplicate pages with ?s parameter

I scanned my website with a duplicate content scanner tool, and it gives me lots of duplicate content pages with ?s parameter at the end, which are crawled by Google. How can I remove these pages? ...
1
vote
1answer
559 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 ...
1
vote
1answer
24 views

How to building pretty URLs to reflect category hierarchy?

At the moment, this is how I access brands (custom post type) on my page: http://example.com/<base>/<brand> I would like to access brands like this: ...
0
votes
1answer
19 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
18 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
2k views

Need help changing back the correct wordpress url

Hello I've just recently installed wordpress today on a development linux server. Everything seemed ok until when I stupidly changed the wordpress url. Initailly it was just http://localhost/ but I ...
0
votes
1answer
14 views

How to switch from custom post type URL to category URL?

For the past year, I've been using custom post types to distinguish my different post types (duh). Thing is, I'm now realizing that categories are more efficient in offering archived pages for these ...
0
votes
1answer
80 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
0answers
20 views

Domain change question

Please help me with this situation. Now I have a site called "abc.com" with pages and blog (many articles). Permalinks is set as abc.com/%postname%/ And I am planning to move just the blog ...
1
vote
1answer
378 views

wp_insert_post - How do I prevent incremental numbers on child pages?

I'm using wp_insert_post to dynamically generate child pages for a given page using a predefined array of values. The goal is to give each child page the same slug. For example, clicking "Generate ...
2
votes
1answer
558 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 ...
-1
votes
2answers
50 views

All font sizes change when manually typing 2011 into url and going to archive page

I am developing a site on MAMP and everything is going fine except that I thought I would check how all the default archive pages look. I typed 2011 at the end of the base url and it retrieved a ...
3
votes
1answer
1k 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 ...
2
votes
2answers
802 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
11 views

Wordpress URL strings for filtering posts by category

I'm working on quite a large blog based site specifically on creating a category navigation system designed to display posts based on multiple category queries. I'm doing this using URLs such as ...
0
votes
3answers
472 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 ...