A
A
alexnem2016-01-07 00:01:17
Denver
alexnem, 2016-01-07 00:01:17

How to fix wrong paths when installing wordpress on local server?

The question is in the title, I'll try to explain in more detail.
The problem is that when installing WordPress on a local server (OpenServer), the links become X:\\server\OpenServer\domain\localhost/wp-content/uploads/2015/12/img.jpg.
Those. both forward and back slashes are present, so links become broken.
How to fix it? Is it possible to somehow cut off the left side to localhost?
This is my first time working with an open server, everything was ok on Denver.
Help me please! Thanks in advance.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
M
Mr Crabbz, 2016-01-07
@alexnem

A very strange problem. Are you installing pure WordPress on pure Openserver? With default settings? I have been using OpenServer for many years specifically for WordPress development - this has never happened before.

A
Alexander Sinitsyn, 2016-01-07
@a_u_sinitsin

Try the Relative URL Plugin

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question