All Questions
32 questions
1
vote
1
answer
20
views
Is the value href in the base tag for reference only or points to a URL that must exist?
I once had a webpage where I set the href value of the base tag to the path where most links start with that path, but the href value isn't supposed to point to an actual page.
Here's an example of ...
1
vote
2
answers
1k
views
Why is it that in folder structure used for Websites generally Web Pages are on same level of hierarchy as additional content related to them?
As someone getting started with web development seeing that web pages themselves and content related to them is on same hierarchy level in folder(directory) structure used for website development is ...
1
vote
0
answers
32
views
When doing URL forwarding from my custom domain from registrar to GitHub, mobile view doesn't work and gives tablet view instead
I have a website set up so that my custom domain forwards to my GitHub pages website. I set this so that it's easier to host static websites.
When I view my website through custom domain on mobile ...
0
votes
1
answer
1k
views
Why isn't iframe designed to be able to load only a certain element of another website? [closed]
Reading the answers in iframe to Only Show a Certain Part of the Page, and given the fact that you can always hide and customize elements via the devtool, I have a hypothesis that the web (in general ...
5
votes
5
answers
4k
views
How can I upload my files to a domain that I bought?
I secured domain on register.ca, and I have it in my account. How would I go about actually uploading my HTML & CSS files onto the website? Previously, I just used GitHub to host my sites, so I'm ...
1
vote
2
answers
158
views
Removing .html Extension On URL Inside Of An MAMP Server [closed]
Below is the code that I'm using on a .htaccess page in order to get rid of the ".html" at the end of the URL. It works fine on all pages except for one. Would any of the code on that one ...
2
votes
2
answers
2k
views
How to remove all .html extensions from all pages of site running under Apache?
On a shared hosting environment based on CentOS-Bash, Apache (with Nginx as a "reverse proxy"), PHP and MySQL I host a MediaWiki website. Normally, no webpage has a .html extension.
I have ...
3
votes
1
answer
192
views
How can I find and remove WordPress malware resulting in URLs with this styling: / top:0; left:-9999px
I'm breaking my head for 2 days with this one, and would appreciate some extra thoughts.
These links are found in wp-content/cache/wp-rocket .html files only, while they are not present on the actual ...
1
vote
1
answer
73
views
Home page title updated to fix a misspelling but Google still has the error
So recently I found that there was a misspelling on the URL title for my business in the google search and I fixed it within WordPress but it has updated on google yet, there is still that error. Does ...
1
vote
0
answers
9
views
How I can removie html extensions [duplicate]
I'm new at web development, I have a question, Thank you all for your answers.
I made a website with HTML5 and CSS, I Published my website on my website host using FTP (FileZilla Client), But when I ...
0
votes
2
answers
157
views
How can I determine where a login form is submitted?
I want to write a program which will log in to squareup.com. So for this I need to know where the form is located and to where is it submitted.
So the form is located at https://squareup.com/login, ...
7
votes
1
answer
1k
views
Does itemprop have a different meaning on links vs. span tags?
I'm using Schema.org markup for a Person, but I get inconsistent results in Google's Rich Snippet Testing Tool when using an <a> tag vs. a <span> tag. Take these two examples:
<span ...
3
votes
1
answer
345
views
Issue with 301 redirect to Index page only
I have a bunch of 301 redirects in my .htaccess for old pages, which work great.
But a problem that's been plaguing me for years is that there's a lot of links out there to my old index page (index....
-1
votes
1
answer
817
views
How to use a canonical link tag in a static page?
What is canonical linking and how can I use it in a static site?
How do we use canonical linking? Suppose we have two pages page1.html and page2.html, I want to canonical linking for page2. Where ...
1
vote
2
answers
221
views
Why would my website suddenly require absolute URLs for CSS?
So for months on this site I've had paths to my CSS files that look like:
/css/syles.css
and they've worked fine.
Today I updated the file and saw my changes weren't being reflected in the browser. ...
2
votes
1
answer
483
views
My users are getting 302 Found page if they don't write https in address bar, how can I prevent this?
I host a forum website in DigitalOcean's cloud servers, using Ubuntu 16.04, Apache 2.4.20, PHP 7.0.8 and MySQL 5.7.12.
I tried to troubleshoot with cURL about what is the problem, these are the ...
9
votes
4
answers
24k
views
Are spaces in "href" valid?
Is <a href=" #id "> (note spaces) correct (X)HTML?
Does it mean the same as <a href="#id">?
6
votes
2
answers
4k
views
Should URLs with UTF8 characters be encoded in HTML?
I'm thinking of names and stuff containing accented characters.
E.g.is there a difference between:
<a href="http://example.com/thing?name=forêt">link</a>
and
<a href="http://example....
2
votes
1
answer
1k
views
Must the image url in a sitemap file begin with the same domain the file is stored on?
I remember when making a sitemap, all URLs defined in between <loc> and </loc> must be part of the same domain as the domain the file is stored on. For example, I can use this line in my ...
1
vote
1
answer
165
views
URL query is adding an unecessary comma
I am trying to automatically place login data through a URL query for my university services. (https://login.gatech.edu/cas/login)
two problems arise when I try to pass a URL query (Ex: https://login....
1
vote
1
answer
122
views
Port numbers appearing in the URLs on my development site under Apache and Python
I've built a static site. Locally, when I serve the content with python -m SimpleHTTPServer everything behaves normally, but when I copy the HTML onto the server and browse the site at the server's ...
28
votes
4
answers
42k
views
What is the purpose of leading slash in HTML URLs?
I have noticed that some blogs posts have links using a value starting with / in the href.
For example:
<a href="/somedir/somepage.html">My Page</a>
Does the leading / mean the path is ...
2
votes
1
answer
2k
views
Do some mail clients automatically urldecode %2b strings?
We have an email address verification process on our website. The site first generates an appropriate key as a string
mykey
It then encodes that key as a bunch of bytes
&$dac~ʌ����!
It then ...
0
votes
2
answers
1k
views
Creating temp/fake URLs for user generated content
I'm working on a site that hosts classified listings. I'm currently using hash/query params and Ajax to display content.
Example: www.site.com/viewpost?id=34089
We are now interested in making ...
6
votes
3
answers
7k
views
Do I really need to remove special characters in a URL?
I have an FTP account shared with friends where we upload underground music albums and then we use the links to share the downloads in a music forum. The problem is that the album names are in french ...
6
votes
1
answer
1k
views
What is the way to properly implement a Facebook Like button on a page for best SEO purposes?
On our site we want to put a Facebook Like button/widget-thingy. It is possible to create a like button, where the URL associated with the button is the page it sits on, rather than a Facebook page.
...
0
votes
1
answer
142
views
Would this be considered keyword stuffing?
we have a website with a lot of galleries filled under a couple of different categories. A while ago we migrated all the URLs from for example:
http://domain.com/blog/post/1225/bakemonogatari-cosplay-...
5
votes
1
answer
3k
views
What's the deal with URLs for Yandex.Metrica not prepended with "http"?
The description of Yandex.Metrica explicitly says that URLs like //mc.yandex.ru/metrika/watch.js (no http: in front) that the web site owner has to insert into his pages are not erroneous. So for ...
2
votes
2
answers
239
views
How to inform search engines that my site support multilanguages?
The website i am working on is translated to 8 languages (English, Chinese, Japanese, Arabic, Hindi, Russian, Spanish and Portuguese).
Each time the user select a language, the URL stays the same as ...
1
vote
2
answers
3k
views
Using ending .html for URL re-write?
For re-writing URLs to generate SEO friendly pretty URLs, it was usually recommended to use the ending extension (normally .html), as without the extension, the URL seems to be incomplete. Probably, ...
3
votes
1
answer
1k
views
CMS Made Simple: Why does home page return a 404 under www subdomain?
Anyone know why my homepage won't load with the www prefix.
Links such as
www.example.com/about-us
will load fine
but
www.example.com
returns a 404.
Every page works including the home page if ...
1
vote
1
answer
53
views
Link absolute URIs correctly when loading pages locally
When developing pages, I like to load them in my browser locally to see how they look rather than have to deploy them to the server every time. I'm using Lift and server deployment takes a few seconds,...