Title: embed code not working, error 404 instead
Last modified: September 1, 2016

---

# embed code not working, error 404 instead

 *  Resolved [diegocg](https://wordpress.org/support/users/diegocg/)
 * (@diegocg)
 * [9 years, 9 months ago](https://wordpress.org/support/topic/embed-code-not-working-error-404-instead/)
 * Hi I’m new a wordpress and I’m having a problem with embed codes from any site
   video. The only way to put videos on my account is with the youtube url, but 
   the embed code is not working for any site I want to use. I’m willing to make
   an adult blog site and embedding would be a good (starting idea) idea (using 
   xhamster,xvideos,red tube, etc).
 * After I copy the embedding code and try to publish a new post or editing and 
   existing one after that I get error 404
 * 404
    OOOPS! you are not in the right place.
 * WE CAN HELP YOU FIND YOUR PATH.
 * and the url the browser show is: [http://sitename.com/wp-admin/post.php](http://sitename.com/wp-admin/post.php)
 * I have two sites hosted by different hosting companies and I use the same computer
   for both sites and I only get that problem with one of them.
 * I want to know is there’s a way to fix tahat problem myself or what I have to
   request to my hosting company.
 * Thanks in advance

Viewing 5 replies - 1 through 5 (of 5 total)

 *  Moderator [t-p](https://wordpress.org/support/users/t-p/)
 * (@t-p)
 * [9 years, 9 months ago](https://wordpress.org/support/topic/embed-code-not-working-error-404-instead/#post-7624713)
 * -404 indicates failure to communicate with the server. Reasons for this failure
   to communicate with the server can vary. It could be a conflict with the code
   you are trying to use.
 *  Thread Starter [diegocg](https://wordpress.org/support/users/diegocg/)
 * (@diegocg)
 * [9 years, 9 months ago](https://wordpress.org/support/topic/embed-code-not-working-error-404-instead/#post-7624716)
 * [Mon Aug 01 15:57:00 2016] [error] [client 66.249.7] (13)Permission denied: file
   permissions deny server access: /home/chichona/public_html/404.shtml
    [Mon Aug
   01 15:57:00 2016] [error] [client 66.249.7] File does not exist: /home/chichona/
   public_html/tag
 * these are the latest logs in the error log
 *  Moderator [t-p](https://wordpress.org/support/users/t-p/)
 * (@t-p)
 * [9 years, 9 months ago](https://wordpress.org/support/topic/embed-code-not-working-error-404-instead/#post-7624733)
 * Looks like permission issue.
 * I suggest discuss this permission issue with your hosting provider.
 * Useful codex: [https://codex.wordpress.org/Changing_File_Permissions](https://codex.wordpress.org/Changing_File_Permissions)
 *  Thread Starter [diegocg](https://wordpress.org/support/users/diegocg/)
 * (@diegocg)
 * [9 years, 9 months ago](https://wordpress.org/support/topic/embed-code-not-working-error-404-instead/#post-7624749)
 * they have answerred back my request. It seems that my ip was on their mod security
   black list, the ip got blocked very often and now they added me on the white 
   list and all is running good.
 * I don’t even know hot did I got on that black list.
 *  Moderator [t-p](https://wordpress.org/support/users/t-p/)
 * (@t-p)
 * [9 years, 9 months ago](https://wordpress.org/support/topic/embed-code-not-working-error-404-instead/#post-7624761)
 * Glad to know it 🙂

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘embed code not working, error 404 instead’ is closed to new replies.

## Tags

 * [embedding videos](https://wordpress.org/support/topic-tag/embedding-videos/)
 * [error 404](https://wordpress.org/support/topic-tag/error-404/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 5 replies
 * 2 participants
 * Last reply from: [t-p](https://wordpress.org/support/users/t-p/)
 * Last activity: [9 years, 9 months ago](https://wordpress.org/support/topic/embed-code-not-working-error-404-instead/#post-7624761)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
